Published inDevOps Dudes·Apr 9Member-onlyPost to LinkedIn using Python AutomationPrerequisites IDE (VS Code) Python installed Linux based OS Create an app Go to https://www.linkedin.com/developers/apps Click — Create an app Follow the prompts; you will need a company page. Don’t worry you can still post to your personal profile as well. Setup Auth In your App, click Auth Tab Under Oath 2.0 settings Add r_emailaddress, r_liteprofile…Python3 min readPython3 min read
Published inDevOps Dudes·Feb 25Member-onlyHow to Create a Serverless Contact Form using Lambda, DynamoDB and AWS CDKBelow are steps I went through to create a Serverless app that saves email from an HTML form to a DynamoDB in a few hours. Apologies code is a bit rough, but I thought it was useful. Quite surprised by how easy it was. I was using AWS CodeWhisperer for…AWS5 min readAWS5 min read
Published inDevOps Dudes·Feb 11Member-onlyGenerate code suggestions using OpenAI API and Python.I was wondering how to run OpenAI/ChatGPT code generation using the OpenAI API locally, so I thought I would have a play to see if I could get it working. Here are my steps. Beware, there are small costs involved. Prerequisites Linux based OS Python IDE You will need an OpenAI pay as you go Account First, sign up here View…Artificial Intelligence2 min readArtificial Intelligence2 min read
Published inTowards AWS·Jan 27Member-onlyBenefits of multi-cloud architecturesA multi-cloud architecture is a type of cloud computing approach in which an organization uses multiple cloud services from different vendors, rather than relying on a single vendor. Benefits This approach can provide a number of benefits, including: Improved Flexibility: By using multiple cloud services, organizations can choose the best solution…Cloud Computing5 min readCloud Computing5 min read
Jan 8Member-onlyAlgorithms: Consequences of adding more loopsCode Example Let's consider this codeAlgorithms2 min readAlgorithms2 min read
Published inAWS in Plain English·Dec 6, 2022Member-onlySetup an Ubuntu Docker containerSometimes you need to set up a blank Ubuntu Linux instance to test commands or pipeline executions or install things. Prerequisites Linux OS Docker knowledge Below I will go through how I set up a Ubuntu 22.04 docker container and be able to run commands inside it Add a Dockerfile touch…Docker2 min readDocker2 min read
Published inAWS in Plain English·Oct 16, 2022Member-onlyRun AWS CDK in a Docker containerAWS Cloud Development Kit (AWS CDK) is a framework used to provision AWS cloud infrastructure using programming languages such as python which below guide is based on. More information on AWS CDK here There is quite a few packages required for AWS CDK so I decided to containerise it so…AWS4 min readAWS4 min read
Published inTowards AWS·Sep 24, 2022Member-onlyChanged files in AWS S3 bucket website but website has not changedIf you have uploaded new files and or changes to your S3 website bucket but you have no changes shown when you load your website url, you need to invalidate your CloudFront cache. S3 hosted websites are connected to Cloudfront distribution which caches content. …AWS3 min readAWS3 min read
Published inAWS in Plain English·Sep 16, 2022Member-onlyCombine AWS accounts and billingHow many AWS accounts do you have? If you are like me I have too many! Today I found out that you can consolidate them into a hieratical so you have one organization account and access to all your other accounts. …AWS2 min readAWS2 min read
Published inAWS in Plain English·Sep 10, 2022Member-onlySave EC2 costs by using a AWS Savings planThis is a real-life case of how I save 38% of EC2 micro cost using EC2 Instance Savings Plan. I have an EC2 micro running at the moment which is always running a Barbershop website. …AWS4 min readAWS4 min read