Automation & Containers Flashcards
CloudFormation Tempate
a text file that describes and defines
the resources to be deployed in your environment
. This template is then processed by an engine that provisions the specified resources.
*Define an entire application stack (all resources required for your application) in a JSON or YAML template file. Treat the template as code and manage it using a version control system.
*Define runtime parameters for a template, such as the Amazon Elastic Compute Cloud (Amazon EC2)
instance size, and Amazon EC2 key pair.
*The IaC solution provisions the resources that are defined in the template.
*If you created an AWS resource outside CloudFormation management, you can bring this existing resource
into CloudFormatio
CloudFormation Stacks
All resources in a stack are defined by the stack’s CloudFormation template.
You can manage a collection of
resources by creating, updating, or deleting stacks.
A collection of AWS resources that are managed as a single unit
*Can deploy and delete resources as a unit
*Can update resources and settings on running stacks
*Supports nested stacks and cross-stack references
AWS Elastic Beanstalk
“Just add your code”
Provisions and operates the infrastructure
*Manages the application stack for you
*Shows everything that is created
*Automatically scales your application up and down
AWS Solutions Library
AWS Solutions Library helps you solve common problems and build faster by using AWS. Solutions are vetted by AWS architects and are designed to be operationally effective, reliable, secure, and cost efficient. Many AWS solutions come with prebuilt CloudFormation templates. They can also include a detailed architecture, a deployment guide, and instructions for automated and manual deployment.
AWS CDK
AWS CDK is a software development framework
Uses any supported language to generate templates
*Supports autocomplete and inline documentation
*Has proven defaults and reusable classes
*Provisions multiple environments
AWS Systems Manager
AWS Systems Manager provides a central place to view and manage your AWS resources
System manager primary functions: Provisioning and entitlement, Configuration management, Operations and compliance management , Monitoring
Amazon Q
Generative AI-powered assistant
*Secure and private by design
*Can be customized with your own data
*Provides assistants that are designed for specific
use cases
Amazon Q Developer
*Designed for developers and IT
professionals
*Generates code and helps you
understand, build, extend, and
operate AWS applications
Amazon Q Business
*Designed for business analysts
and every employee
*Answers questions, generates
and summarizes content, and
completes non-coding tasks
Two primary solutions for decoupling application components
Load balancers
Message queues
Amazon Elastic Container Registry (Amazon ECR)
a managed Docker container registry.
You push your container images to Amazon ECR and can then pull those images to launch containers.
Amazon Elastic Container Service (Amazon ECS)
is a scalable, container management
service that supports Docker containers.
Amazon ECS manages the scaling, maintenance, and connectivity for your containerized applications.
What are components you create with ECS to run and scale your containers
you create ECS services, which launch ECS tasks.
Amazon ECS tasks can use one or more
container images.
Amazon ECS services scale your running task count to meet demand on your application.
ECS Cluster
You create an Amazon ECS cluster with dedicated infrastructure for your application. You can run your tasks and services on a serverless infrastructure that AWS Fargate manages.
If you prefer more control over your infrastructure, you can manage your tasks and services on a cluster of EC2 instances. Your cluster can scale EC2 hosting capacity by adding or removing EC2 instances from your cluster.
Features offered by Amazon ECS?
*Fully managed – As a fully managed service, you don’t need to manage the control plane, nodes, or add-ons.
*Service discovery – Amazon ECS features support for service discovery, which you can use to register your
ECS services to Domain Name System (DNS) names.
You could then configure these services to be able to discover each other within the same virtual private cloud (VPC). With service discovery, your microservice components are automatically discovered and added to namespaces as they’e created and shut down.
*AWS integrations – Amazon ECS has close integrations with many AWS services, for example, Amazon ECR, AWS Identity and Access Management
Amazon CloudWatch Logs and Container Insights
*Flexible hosting options–With ECS you can use both Amazon EC2 and serverless hosting with AWS Fargate. You can schedule the placement of your containers across your cluster based on your resource needs,
isolation policies, and availability requirements
Development workflows–Amazon ECS supports continuous integration and continuous
deployment (CI/CD).