Posts

Showing posts from April, 2024

AWS Instance Store

Image
 AWS Instance Store  AWS Instance Store -  Hardware storage directly attached to EC2 instance amd cannot be detached and attached to another instance  Highest IOPS for any available storage Ephemiral Storage (Loses data when instance is terminated, stopped or hibernated) Good to buffer/cache/scratch data/temporary content  AMI created from an instance does not its instance store volume preserved  You can specify the instance store volumes to an instance when you launch the instance. You can't attach instance store volumes to an instance after you’ve launched it. Raid -  Raid 0  Improve performance of a storage volume by distributing reads and write in a stripes across attached volumes  If you add a storage volume you get the straight addition of throughput and iops For high performance applications Raid 1   Improve data availability by mirroring in multiple volumes For critical applications

AWS Elastic Beanstalk

Image
 AWS Elastic Beanstalk  AWS Elastic Beanstalk   -  Used to deploy application on AWS infrastructre Platform as a service (PaaS) Automatically handles capacity provisioning load balancing, scaling, application health monitoring, instance configuration, etc. but have full control over the configuration  Free (pay for the underlying resources) Supports versioning of application code  Can create multiple environment (dev,prod,test) Supports the deployment of web applications from docker container and automatically handles load balancing, auto scaling, monitoring and placing containers across the cluster  Web and Working Environments -  Web Environment (web server tier) - clients request are directly handled by EC2 instances through a load balancer  Worker Environment (worker tier) - clients requests are in SQS queue and the EC2 instances will will pull the messages to process them. scaling depends upon the number of SQS messages in the queue...

AWS CloudFormation

Image
 AWS CloudFormation AWS CloudFormation -  AWS CF is a service that allows you to manage, configure and provision your Infrastructure as a code  AWS CF provides a common language for you to describe and provision all the infrastructure resources in your cloud environment  Resources are defined using CF templates  CF interpretes the template and makes the appropriate API calls to create the resources you have defined Supports YAML or JSON CF Templates -  YAML file that defines a CF stack Templates have to be uploaded in S3 and then referenced in CF Logical  IDs are used to reference resources within the template  Physicals IDs identify resources outside of AWS CF templates, but only after the resources after created  Template Components -  Resources - AWS resources declared in the template (mandatory) Parameters - Dynamic inputs for your template  Mappings - Statics variables for your template Outputs - References to what has been cre...