Amazon elastic file system( EFS) can be mounted automatically using user-data while spinning up the Instance. This post aims to show both auto and manual mount of EFS volume. Before you start mounting the EFS volume, make sure that you have the EFS ID with you and the EFS security group is open on port 2049 for the EC2 IP or subnets. … [Read more...] about How to Permanently Auto-Mount EFF Volume to EC2 instance using User-Data
AWS
3 Easy Steps to Create and Deploy AWS SAM Template
AWS SAM template is an abstraction layer, runs on the top of CloudFormation, for creating serverless resources. So, when you run a SAM template to create a Lambda function or an API gateway, it generates a CloudFormation stack behind the scene. The main purpose is ease-of-management of serverless resources in AWS. SAM Vs. CloudFormation: when to use AWS SAM instead of … [Read more...] about 3 Easy Steps to Create and Deploy AWS SAM Template
How to Query AWS CloudTrail Logs with Athena
AWS CloudTrail logs all the API calls made to the AWS account. You do not require any tool to view the last 90 days of events. But if you want to view the logs older than three months you have to setup a S3 bucket to store it and then you can analyse the logs. This post aims to show you how you can use AWS Athena to view AWS logs stored in S3 bucket. … [Read more...] about How to Query AWS CloudTrail Logs with Athena
How to Install Boto3 for AWS SDK using Anaconda in Windows
Boto3 allows the python developers to create and manage AWS services such as EC2. You may need to install boto3 in your windows machine for AWS cloud based services development and automation. The easiest way to configure boto on your machine is to install anacond at first. You can download anaconda at https://www.anaconda.com/distribution/. … [Read more...] about How to Install Boto3 for AWS SDK using Anaconda in Windows