11 articles AWS

Terraform template to enable Snapshot on EBS volumes of Instances created by ASG

This note will explain, how to configure scheduled Snapshot of attached EBS volumes using terraform, Cloudwatch Events with builtin target EC2 CreateSnapshot API. We can use Cloudwatch event to schedule snapshot of EBS volume. For this we need to create Schedule based Cloudwatch Event Rule with Specific Cron expression. Then attach EC2 CreateSnapshot API target…

Think before using Configuration Management Tools for Infrastructure Provisioning

These days, almost every Software development organization is trying to implement DevOps in their Software Development Lifecycle. DevOps is getting accepted worldwide for its Software Delivery speed and reliability. Infrastructure provisioning or orchestration and Configuration Management both are like heart and soul of DevOps toolchain. Tools like Terraform & Cloud Formation are used for Infrastructure…

Salt Based User Management

Salt based linux and iam user Management I have created Salt States for Managing User. I have uploaded them on GitHub. Kindly check and let me know any suggestions or queries. Clone Git Repo from https://github.com/neeleshg/salt-iamuser-sshkey.git Check out README.MD

Is your organization planning to have FedRAMP Compliance Certification?

The Federal Risk and Authorization Management Program (FedRAMP) is a government-wide program that provides a standardized approach to security assessment, authorization, and continuous monitoring for cloud products and services. FedRAMP is required if organization is planning to have projects from US FedRAL Government. It is also a framework to harden organization’s infrastructure. Getting FedRAMP is…

Manage AWS API logs with CloudTrail and Graylogs

General Process: Cloudtrail will send all API logs to S3 bucket And will notify to SNS topic SNS will send log details to SQS queue Graylog will poll message from SQS and get the logs from that S3 file By default all logs will be sent to “All Messages” stream. Stream can be used to…

Redis HA Implementation Options

This is high level description of Redis HA Implementation Options. There are couple of ways to setup Redis in HA mode as per business requirements. Main concern in Redis HA is how we are going to distribute Writes and Reads. Sometimes RedisHA is handled at Application level as well. Option 1: Manual This is the…

Configuring SSL in Tomcat & AWS Elastic Load Balancer (ELB)

Steps to configure SSL in Tomcat & integrate it with AWS Elastic Load Balancer (ELB) 1. Create Keystore using keytool.2. Generate Certificate Signing Request (CSR)3. Get RootCertificate, Intermidiate Certificate & Public Certificate. 4. Import above certificates in keystore 5. Configure keystore in tomcat 6. Integrate SSL certificate with AWS ELB – – Generate RSA Private…

Configure Elastic IP Failover between EC2 instances in AWS

Configuring Failover cluster between 2 EC2 instances is bit tricky. We can achieve Failover between 2 EC2 by configuring Elastic IP Failover. In AWS we can associate Elastic IP to an EC2 instance. Using this Elastic IP we can connect to the associated instance using terminal. We can configure basic Failover of EIP using below…