When should I use Multi-AZ as opposed to Read Replicas in RDS?
How does authorization work with multiple access control mechanisms in S3?
People get confused between RDS Multi-AZ feature and Read Replica feature and under a given situation which one to use. Let’s first cover what do we mean by Multi AZ and Read Replica and after that we will cover the differences between them and when to use them. Multi-AZ: In a Multi-AZ deployment, Amazon RDS automatically […]
List Resources in all Regions of another AWS Account
There are 3 ways we can control access to our S3 resources: IAM Policy: IAM policies specify what actions are allowed or denied on what AWS resources (e.g. allow ec2:TerminateInstance on the EC2 instance with instance_id=i-8b3620ec). You attach IAM policies to IAM users, groups, or roles, which are then subject to the permissions you’ve defined. […]
Run Lambda Function for more than 5 minutes
Now why would you do that? There can be many reasons, to have a visibility of all the resources in all of your AWS Accounts, for faster onboarding, cost calculations and many other reasons. REQUIREMENTS: In this blog I assume that you have 2 AWS accounts between which you want to enable cross account access. […]
Re:Invent 2017 Announcements at a glance
I have come across many use cases where people want to run their Lambda function for more than 5 minutes. For people who don’t know about AWS Lambda and its limitations, here’s a brief description: AWS Lambda is a compute service that lets you run code without provisioning or managing servers. AWS Lambda executes your […]
Automatic Backup of Log Files to S3 from EC2 Iinstances
In this Blog I will quickly take you through the newly launched products and services by AWS in this recent re:Invent 2017. This re:Invent was all about the capabilities of Machine Learning and IoT in cloud. Andy Jassy launched a plethora of services including: AWS EKS, a fully managed Kubernetes service; AWS Fargate, a service […]
Send Data from a Webpage to Amazon DynamoDB using API Gateway and Lambda
In this short blog post I will show you how you can upload log files of any service be it Apache, JBOSS, nginx or any other service running in your EC2 instance to S3. If you will ask me what’s the use of all this. I will say there are many advantages of doing this. […]
AWS CloudFormation Primer (Infrastructure as Code)
I am a big fan on Serverless. It’s just fascinating how you can host a complete website without having to manage the underlying infrastructure. In this article I will show you how to send data from a website to DynamoDB. I will use Amazon API Gateway and Lambda to send the data. REQUIREMENTS I am […]
AWS CloudFormation is a service which provides users with a way to describe the AWS resources they want created, in a declarative and re-usable fashion, through the use of simple JSON or YAML formatted text files. It supports a wide variety of AWS services, includes the ability to pass in user supplied paramaters, and some […]