AWS Interview Question

Difference between AWS EBS and EFS?

EBS and EFS both are storage services from AWS . EBS – Elastic Block Store EBS is a block storage service . EBS volumes designed to attach single AWS EC2 instanceYou can format the disk with your desired generic file systems like ext4,NTFS,XFS,ZFS etc.You can attache and detach from EC2 instance easilyYou can extend the disk volume size onlineHaving options…

Continue Reading

AWS, AWS Interview Question

How to setup VPN connection between two AWS VPC

VPC – Virtual Private Cloud . The core network component in AWS. It provide isolated network environment .Normally communication between two VPCs not enabled . We can enable communication through VPC peering, AWS supports peering connections for same region,different region, same account or different AWS account . When we use VPC peering it use AWS backbone network . So it…

Continue Reading

AWS Interview Question

What is the difference between horizontal scaling and vertical scaling in cloud computing

Horizontal Scaling : Horizontal scaling means that you scale by adding more machines/nodes into your pool of resources or scaling group.This is one of the biggest successive method when compare with vertical scaling . You can quickly scale-up and scale-in number of nodes to handle machine traffic without affecting the application. Most of the public cloud provider AWS,Google,Azure supports horizontal scaling…

Continue Reading

AWS, AWS Interview Question

What are the different types of encryption mechanism available in AWS to encrypt data at rest in s3 ?

Data protection refers to protecting data while in-transit (as it travels to and from Amazon S3) and at rest (while it is stored on disks in Amazon S3 data centers) 1.Server-Side Encryption Request Amazon S3 to encrypt your object before saving it on disks in its data centers and then decrypt it when you download the objects. 2.Client-Side Encryption  Encrypt…

Continue Reading

RDS

MySQL/Amazon RDS error: “you do not have SUPER privilege”

Access denied; you need the SUPER privilege for this operation you do not have SUPER privilege This error normally will occur when try to import or restore mysql database into Amazon rds. The error clearly shows you do not have SUPER user privileges . Yes thats true , becuase Amazon will not provide any rds super user provilages even for…

Continue Reading

AWS

How to configure AWS cloud trail logs to S3 Bucket? 

AWS CloudTrail is a web service that records activity made on your account and delivers log files to your Amazon S3 bucket. CloudTrail provides visibility into user activity by recording actions taken on your account . CloudTrail records important information about each action, including who made the request, the services used, the actions performed, parameters for the actions, and the…

Continue Reading

AWS

How to configure multiple AWS EC2 Elastic Network Interface ENI in Linux instance

AWS EC2 instance by-default will have one ENI with private / public IP address .In some cases need 2 or more separate IP address for high availability solutions, multiple web deployments or to separate the management ,administration and public traffic .In AWS we can create additional ENI NIC and can attach to instance . Elastic Network Interface (ENI) properties: Every…

Continue Reading

Ansible basics

Ansible technical terms – Cheat sheet

Ansible has lot of technical terms with service , function, modules etc . Below are the major technical terms used widely . Control Node: Any machine that has ansible and python installed can act ass Control node . You can run commands and playbooks, invoking /usr/bin/ansible or /usr/bin/ansible-playbook, from any control node .Windows server can not be run as control node. Managed Node:…

Continue Reading

AWS

What is the difference between AWS IAM user and role

Below are the difference between IAM user and role. IAM User: An IAM user has permanent long-term credentials and is used to directly interact with AWS services . Users can make requests to AWS services using security credentials. A user is a unique identity recognized by AWS services and applications. Similar to a login user in an operating system like…

Continue Reading

Ansible basics

Ansible Architecture

The above diagram illustrate Ansible architecture . The beauty of ansible is agentless . By default it manages remote connections over SSH (Linux & Unix) or WinRM (windows). The “Ansible Automation Engine” consists of below core components. Core component: *Host Inventory *Modules *Playbook *Plugins Now lets see each component functionality. Host Inventory: Inventory is a collection of hosts or nodes…

Continue Reading

AWS

How to connect aws ec2 instance Linux server console

In traditional Data center environment , VM ware and other cloud providers like Azure having options to connect Linux virtual server serial console . Through IMM console or through web browser or through some application call . Normally why we want to connect with Linux server console? If you are unable to reach your instance via ssh , problem diagnostics…

Continue Reading

AWS

How to practice AWS using without paying

In AWS account setup is simple concept . AWS Account is normally common for single user or Enterprise account for organisation,you will not find any difference in service features , view etc . There is no concept of trial account or separate free tier account. It is really possible to practice AWS without paying using AWS free tier? The answer…

Continue Reading

AWS

AWS ENI – Error deleting network interface

In AWS sometimes you could see the error message when try to detach ENI “Error deleting network interface” .  It’s normal , we just need to understand the concept . ENI’s are not only created by manually . When you create some resources , AWS will automatically create the backend must required resource. Example when you create EFS it will…

Continue Reading

AWS

How to login with AWS CLI from Windows

Step1: To login into AWS CLI , first need to install AWS CLI package . The CLI package available for different OS . you can download from amazon website http://docs.aws.amazon.com/cli/latest/userguide/installing.html Step2: Create IAM User account with access key and Secret Key . Dont forget to save , you can not view or download it again. You can create multiple access…

Continue Reading

AWS

How to attach role to AWS EC2 instance after launching

Few years back this feature was not available in AWS .Once instance launched with particular role you can not replace . Need to launch the instance with required role .This is really challenge task in real time scenario Now Amazon enabled this beautiful features . So you can attache or replace the role to instance anytime even in EC2 instance…

Continue Reading