Copying files from EC2 server to an S3 bucket

You can copy the files from your EC2 server to an S3 bucket via AWS CLI in following way: SSH into your EC2 instanceConfigure AWS CLI on your EC2 instance $ aws configure Make sure the EC2 instance has a role assigned which has permissions to read and write to S3 bucketTry running below command … Continue reading Copying files from EC2 server to an S3 bucket

Creating AWS resources in four ways using AWS Console, CLI, CloudFormation and Terraform!

This blog post will show you how to create an S3 bucket in AWS using four ways using AWS Management Console, AWS Cloudformation and Terraform! Let us begin! First Way: Directly using S3 Management Console Go to AWS management console > Go to S3 Service Click on create bucket button and provide details for the … Continue reading Creating AWS resources in four ways using AWS Console, CLI, CloudFormation and Terraform!

Terraform Setup on Windows to create AWS resources

Let us see how can we setup Terraform CLI on Windows and create some resouces on AWS cloud. Step 1: Download terraform from https://www.terraform.io/downloads.html Step 2: Unzip the file and place it in desired location Step 3: Set path in System Environment Variables Step 4: Test the installation CMD prompt Step 5: Configuring and Creating … Continue reading Terraform Setup on Windows to create AWS resources

Automating Infrastructure with CloudFormation: Creating a Basic Template for S3 bucket and EC2

AWS CloudFormation takes care of provisioning and configuring those AWS resources for you. It automates the Infrastructure setup on AWS for you. You just need to create a CloudFormation template elisting the resources and their configuration. The template can be written in JSON or YAML Cloud Formation Templates are reusable which a big advantage. Cloud Formation … Continue reading Automating Infrastructure with CloudFormation: Creating a Basic Template for S3 bucket and EC2

How create a serverless website using AWS Lambda, AWS S3, AWS API Gateway and AWS DynamoDB with node.js? Full Tutorial!

This post will show you how we can create a web site using AWS serverless architecture. Architecture The architecture would look something like below: The services and technologies we will be using to build this application are: AWS Lambda AWS Lambda is a compute service that lets you run code without provisioning or managing servers. AWS … Continue reading How create a serverless website using AWS Lambda, AWS S3, AWS API Gateway and AWS DynamoDB with node.js? Full Tutorial!

How to deploy your static website on AWS using AWS S3 and AWS Route 53?

This post will show how can you deploy your static web application i.e basically html-css based app on AWS. You need know about the two important AWS services like AWS S3 and AWS Route 53. Below is the structure of a basic html web page: Let us upload the above web file into AWS S3. … Continue reading How to deploy your static website on AWS using AWS S3 and AWS Route 53?