Published in AWS in Plain English·3 days agoMember-onlyDeploy Serverless PHP Symfony App on AWS LambdaThis is how I created a PHP Symfony web app that runs on AWS Lambda. AWS currently doesn’t support PHP on Lambda but Bref has made this a possible solution plus it’s quite easy to spin up and configure. Prerequisites WSL2/Linux system PHP 8.1 Installed Composer Installed Symfony CLI Installed AWS…AWS3 min read
3 days agoMember-onlyDownload Facebook Messenger Chat logThis is how I downloaded Facebook Messenger chat logsFacebook2 min readImage from https://www.messenger.com/Download Facebook Messenger Chat log----
Published in Towards AWS·Jun 16Member-onlyDeploy Symfony to AWS Elastic BeanstalkBelow is how I created a PHP Symfony version 6.0 app and deployed it to Amazon Web Services Elastic Beanstalk using a Dockerfile. Elastic beanstalk can build docker containers and manages some other infrastructure like load balancers as well all in one EB package. Prerequisites WSL2 or Linux Installed EB CLI…Cloud Computing2 min read
Published in AWS in Plain English·Jun 11Member-onlySolution for Amazon S3 Error “AccessControlListNotSupported”Here’s how I resolved the “AccessControlListNotSupported” error in Amazon S3 — I was getting this error when uploading to the S3 bucket when using a Github Action: (AccessControlListNotSupported) when calling the PutObject operation: The bucket does not allow ACLs. Below is how I resolved it Find your S3 bucket and click permissionsAWS2 min read
Published in Towards AWS·Jun 8Member-onlyInstalling the AWS EB CLI command on Debian 11 (WSL2)In order to create docker containers in Amazon Web Services Elastic Beanstalk, you need the EB CLI command to run. I didn’t find the installation of this very straightforward forward so hopefully, this helps you. Install python sudo apt update sudo apt -y upgrade sudo apt install wget build-essential libreadline-gplv2-dev libncursesw5-dev \…AWS2 min read
Published in AWS in Plain English·Apr 15Member-onlyAutomate 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 27Member-onlyAdd 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 26Member-onlyShutdown 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 12Member-onlyCreate 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 5Member-onlyAWS 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