We all have heard about codepipeline which simply triggered by a source commit and start a pipeline to build application then deploy automatically to ec2 servers. Upload files to aws ec2. Well this article is not about code pipeline but a simple script that will make...
Read More ⟶
Uploading images to S3 bucket using Nodejs code. The below code will upload any assets to mentioned AWS S3 bucket and return the uploaded details along with assets size in bytes.
const AWS = require('aws-sdk');
const { Storage } =...
Read More ⟶
Login to you linux server
Check if codedeploy agent installed.
sudo codedeoploy-agent status
Remove any existing if already installed.
sudo yum erase codedeploy-agent
Remove any remaining logs at opt folder
cd /opt
sudo rm -r codedeploy-agent/
cd...
Read More ⟶
Whenever you create an SNS topic by itself, the default access policy will look something like this: The default access policy shown as below is wrong and will not work.
{
"Version": "2008-10-17",
"Id": "__default_policy_ID",
"Statement": [
...
Read More ⟶