Posts

Global Infrastructure

What is VPC? It is a virtual Network our data center dedicated to you are AWS account. One can launch EC2 Instances into their VPC. VPC is the abbreviation of Virtual Private Cloud. There can be multiple availability zones in a VPC. A private cloud is a cloud architecture owned by a company where a company can create its own data center, storage, network devices, which is accessible only to the authorized premises of that company. A virtual private cloud is a virtual network that closely resembles a traditional networking that you operate in your own data center, with the benefits of using the scalable infrastructure. It is logically isolated from other virtual net work in the AWS cloud. Maximum of five VPC can be created in a region and 200 subnets can be created in one VPC. We can create 200 routing tables in a VPC corresponding to VPC. We can allocate five elastic IP in an account. We can extend this limit after requesting Amazon. Once we create a VPC DHCP, NACL and security group w

Queues

  Q what is the difference between SNS & SQS & Event Bridge? Abbreviation SNS stands for simple notification service. SQS stands for simple Queue service. Usage SNS uses a Publisher Subscriber system, we own a topic and we publish to that topic and subscribers get notified of events that are delivered to that topic. One to many fan out. High throughput. Many subscribers. SQS is a queuing service for message processing. SQS can be a subscriber to SNS. When somebody publishes a message to SNS our SQS will get a message that may be processed at a later time. Allows application owner to publish messages to a queue and be decouple application from one another. One of the oldest service from AWS. SQS has a synchronous communication. Temporary message holding pool. Ordered message processing. Event Bridge is an improved version of SNS. Event Bridge provides third-party integration, such as Shopify, Pager duty, data docs, etc. One too many. AWS, SQS, third party application integration

Serverless

Q Is Fargate container or serverless? Ans: It is both. Q What is the advantage of using ECS and Fargate? Ans:  The benefits in ECS are as follows A managed service for containerized applications that does not require much user input to run docker applications. Micro services consisting of multiple applications run in isolated containers. Auto scales tasks based on application Load. Integrates with other AWS services including IAM, Cloud watch, elastic load-balancing, cloud formation templates, EBS volumes, Batch, ECR, and cloud tail logs. A Virtual private cloud(VPC) with no resources shared with other users. Provides support for running a code pipeline with ECS as the deployment platform. Supports the latest docker version. Fargate provides the following additional benefits: With a Fargate launch type, a user does not create or manage any EC2 instances, as none are exposed on the cluster. Tasks are directly exposed to user via an ENI. The underlying infrastructure is provisioned by Fa

General Questions

What is a X forwarded for header? Identify the originating IP address of a client through a load balancer. If you need the IPV four address of your end, user, look for the X forwarded for header. What is an OSI model A conceptual framework which describes the functions of a network. Beginning with the Application layer which directly serves the end, user, down to physical layer. What the end user sees HTTP, web browsers. Different layers of the model are as follows. Presentation layer Data is in a usable format, encryption, SSH. Session Layer Maintains connections and sessions. Transport layer Transmits data using TCP and UDP. Network layer Logically routs packets based on IP address. Data Link layer Physically transmits data based on MAC addresses. Physical layer Transmits bits and bytes over physical devices. What is the difference between IOPS and throughput? IOPS Measures the number of read and write operations per second. Important metrics for Quick transactions, low latency apps,

Scenarios based Questions

Your company has built-in internal scrum tool for Running  all your scrum ceremonies. Usages predictably high between 9-10AM Monday-Friday and also 1 PM-2 PM Thursday and Friday. Which feature of autoscaling will easily repair your system To handle the Load? Target tracking could to work but we need to invest time in determining correct metric to track example (CPU, memory, load balancer requests). Also Manuel Scaling requires that someone changes configuration to scale up and scale down every day.  Finally over provisioning in order to cope with peak demand defeats the purpose of Elastic Scaling of Our compute. For situations where your traffic is very predictable, the easiest way to scale with demand is to create scheduled Scaling Actions. A product manager vox into your office and advises that this simple single node MySQL RDS Instance that has been used for a pilot needs to be upgraded for production. She also advises that they may need to alter the size of The instance once they s

High Availability Architecture

Following points can be considered while creating a highly available architecture depending on scenarios  A spread Placement group Supports a maximum of seven running Instances per availability zone.for example, In A region with three Availability zones, you can run total of 21 instances in the group.If you try to start an eighth Instance in the same availability zone and in the same spread placement group, the Instance will not launch.If you need to have more than seven instances in an availability zone,Then the Recommendation is to use multiple spread Placement Groups. Using multiple spread Placement Groups does not provide guarantee about the spread of instance between groups, but it does ensure the spread for each group, thus limiting impact from certain classes of failures. Durability refers to the ongoing existence of the object or resource. Note that it does not mean you can access it, only that it continues to exist. Groups, Scaling options, configuration templates are componen

VPC,Cloud Front,EC2,RDS in AWS

 VPC allows you to provision a logically isolated section of AWS where we can launch AWS resources in a virtual network. Cloud Front is a Fast Highly Secure and Programmable Content Delivery Network EC2 provides compute resources  RDS is Amazon's Relationship Database System.