Published in AWS in Plain English·Apr 15Automate login to GitHub with ssh key (linux)Following is a guide on how I automated authenticating ssh key for windows WSL Debian Intro If you have setup ssh authentification to GitHub and if you are annoyed at setting ssh-agent and github key everytime you pull/push to git, here is how you automate it 😁 Edit linux profile This is based on…Git1 min read
Published in Towards AWS·Mar 27Add GitHub ssh-agent and ssh key on startup (Windows)Automating git ssh authentication on startup If you have GitHub ssh key setup to access your remote repo, whenever you log out your PC your ssh key drops out! So you have to run evalssh-agent -s&& ssh-add ~/.ssh/xxx-key everytime you login.😡 This is how I added ssh-agent and ssh key…Software Development2 min read
Published in Towards AWS·Feb 26Shutdown AWS EC2 using GitHub ActionsBelow is instructions on how I went about writing a CI/CD GitHub Actions workflow to turn off an Amazon Web Services EC2 Virtual Machine. Hope this may be of use to you. Prerequisites You will need a running AWS EC2 server Create a GitHub account Create a new repository Set up a file for the…AWS4 min read
Feb 12Create a budget alert in Azure cloudCloud services are great but can be very costly. It’s a good practice to set up a budget alert in Azure cloud so just in case you leave a cloud service on and it charges you a massive bill at the end of the month. Below are steps on how…Azure3 min read
Published in Towards AWS·Feb 5AWS EC2 shutdown and still getting charged? Create a budget alert.Last month I was surprised that my bill was so high when my EC2 was shut down so I did some investigating. Turns out AWS charges for Elastic IPs even when your EC2 is off! I must have missed the small print 😬. …Cloud3 min read
Published in AWS in Plain English·Jan 15Turn on AWS EC2 Using GitHub ActionsInstructions in writing a CI/CD GitHub Actions workflow to turn on an Amazon Web Services EC2 Virtual Machine — Below we are going to write a Github Action that turns on an AWS EC2 server Create a GitHub account Create a new repository Set up a file for the workflow: Folder named .github Folder in .github called workflows Create a file called turnOnAWSEC2.yml See Link for more info Add code to workflow (turnOnAWSEC2.yml) fileAWS4 min read
Published in AWS in Plain English·Dec 5, 2021How to Install Magento 2.4.3 Community on AWS EC2 (Debian 10)A step-by-step guide to installing Magento 2.4.3 Community on AWS EC2 (Debian 10). — Below are steps on how I installed the Magento community on an Amazon EC2 server. First Calculate your costs calculator.aws/#/createCalculator/EC2 Below we are using US East (N.Virginia) t2.medium 10GB storage Which should cost only $34.87USD on demand OR $21.95USD if you are using EC2 Savings Plan Sign up or into AWS ConsoleSoftware Development5 min read
Published in AWS in Plain English·Nov 7, 2021How to Create an AWS S3 Bucket with GitHub ActionsA guide to creating AWS S3 Bucket with GitHub Actions. — Below we are going to run a GitHub Action that creates an S3 bucket in AWS Cloud. GitHub workflows have AWS CLI commands built-in so all you need to do is run the command See this link for more information. Create a GitHub account. Create a new repository. Set up…AWS3 min read
Nov 5, 2021Create new branch with git command lineUsing the git terminal below are steps in creating a new branch and pushing it to remote repository Say you have made some changes on a branch currently but dont want to put these changes on this branch but instead on a new branch First check your current status of…Software Development2 min read
Published in AWS in Plain English·Nov 3, 2021How to Sync AWS S3 Bucket on Git Push using GitHub ActionsSetup a CI/CD GitHub Action to upload files to an S3 Bucket whenever you do a Git push. — Software Development2 min read