Customize Nginx config on Ruby1.9 Elastic Beanstalk

Requirement : Set a URL redirection in Nginx Configuration. Example : =>¬† On Beanstalk with Phusion Passenger Standalone [3.0.17] (Ruby1.9), Nginx customization is highly discouraged. However to accomplish this, the following workaround is done : Beanstalk generates the nginx configuration file from a ERB template each time when restarted. Hence the configuration change has […]

CloudFormation Basics

CloudFormation Getting Started Guide An AWS CloudFormation template begins with an open brace and ends with a close brace. Within those braces, you can declare six top level JSON objects: AWSTemplateFormatVersion, Description, Parameters, Mappings, Resources, and Outputs. Naming Hierarchy JSON Object->Eg.Resource->Attributes->Eg.Type & Properties->Eg. AWS::EC2::Instance->Resource Property Type->Eg. EC2 Tag 1.Resources This is mostly required compared […]

ARN – AWS Documentation Excerpts

Here are some example ARNs: <!– AWS Elastic Beanstalk application version –> arn:aws:elasticbeanstalk:us-east-1:123456789012:environment/My App/MyEnvironment <!– IAM user name –> arn:aws:iam::123456789012:David <!– Amazon RDS tag –> arn:aws:rds:eu-west-1:001234567890:db:mysql-db <!– Amazon S3 bucket (and all objects in it)–> arn:aws:s3:::my_corporate_bucket/* The following are the general formats for ARNs; the specific components and values used depend on the AWS service. […]

IAM Users Best Practices – Excerpts from AWS Documentation!

Defining the right set of permissions requires some research to determine what is required for the specific task, what actions a particular service supports, and what permissions are required in order to perform those actions. Permissions can be assigned in two ways: as user-based permissions or as resource-based permissions. User-based permissions are attached to an […]