AWS Certified Cloud Practitioner 2022 with 100% correct answers
ECS Elastic Container Service - Launch Docker containers on AWS - You MUST provision & maintain the infrastructure (the EC2 instance) - AWS takes care of starting/stopping containers - Has integrations w/the app load balancer Fargate - Launch Docker containers on AWS -DOES NOT need to provision EC2 -SERVERLESS Offering - AWS just runs containers for you based on the CPU/RAM you need 00:02 01:30 ECR Elastic Container Registry - Private docker registry on AWS - this is where you store your docker images so they can be run by ECS or Fargate What's serverless? - new paradigm in which the developers don't have to manage servers anymore - they just deploy code or functions! - initially FaaS (Fx as a service) - serverless was pioneered by AWS Lambda but now also includes anything that's managed :DB, msg, storage, etc Serverless AWS services Amazon S3, DynamoDB, Fargate, Lambda Lambda Virtual functions - no servers to manage! Limited by time - short executions Run on -demand Scaling is automated EC2 vs Lambda Serverless Thumbnail creation & CronJob image created in S3 then pushed to Lambda Fx creating a Thumbnail, then pushed to new thumbnail in S3 and Metadata in DynamoDB, ALL serverless integrations. CRON allows you to define schedule and run script, runs on Linux AMI. CloudWath Events EventBridge, trigger every hr for Lambda fx to perform a task Amazon API Gateway Fully managed service for developers to easily create, publish, maintain, monitor, and secure APIs example: building a serverless API SERVERLESS and scalable AWS Batch Batch (scheduled) vs. continuous - use of EC2 and Spot instances in ECS Batch vs Lambda Lamdba: time limit, limited runtimes, limited temporary disk space, serverless Batch: no time limit, any runtime as long as it's packaged as a Docker image, rely on EBS/instance store for disk space, relies on EC2(can be managed by AWS) Amazon Lightsail Virtual server, storage, database and networking Low & predictable pricing! simpler alternative to EC2, RDS, ELB, EBs, Route 53... great for people w/little cloud experience Use Cases: - simple web applications - simple websites - Dev/Test env Elastic Beanstalk Platform as a service for developers to only deploy code, end to end management of web application - Health monitoring suite available within the service pushes metrics to CloudWatch. - Also checks for app health, publishes health events AWS CodeDeploy Deploy apps automatically Works w/EC2 and also on-prem servers is a "HYBRID" service AWS CodePipeline Orchestrate the diff steps to have the code automatically pushed to production - code -Build-Test-Provision-Deploy - Basis for CICD (Continuous integration & continuous Delivery) Benefits: fully managed and compatible with Code xxx AWS Code Artifact Storing and retrieving dependencies called "artifact management" - SW packages depend on each other to be built (code dependencies) and new ones are created CodeArtifact is a secure, scalable and cost-effective management for software development - Developers and codebuild can retrieve dependencies straight from CodeArtifact AWS CodeStar One stop shop for SW development management - Unified UI to easily manage SW development activities in one place via dashboard AWS Cloud9 a cloud IDE (Integrated Development Environment) for writing, running and debugging code - looks like a code editor - can be used within a web browser - code collaboration in real-time (pair programming) AWS CodeCommit a fully-managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories. AWS Systems Manager (SSM) - Hybrid AWS service that can be used to manage both EC2 and on-prem systems at scale - get operational insights about the state of your infra - important features are Patching automation for enhanced compliance, run commands across an entire fleet of servers - works both Win and Linux OS 3 ways to access EC2 1. open port 22 and SSH into EC2 2. EC2 instance connect, still need port 22 3. Session Manager Session Manager (Systems Manager) to securely access EC2 without SSH Route 53 1) simple routing policy, No health checks. Traditional routing process 2) Weighted routing policy, traffic is divided based on the weight set for each server (e.g., 70%, 20%, 10%) 3)Latency routing policy: reroute to closest servers by looking at user's location 4) failover routing policy, DR: Route 53 health checks on primary and if fails, it routes to Failover server DIFFERENCE BETWEEN Load balancing vs. Route 53 ELB = traffic distribution among multiple AZs Route 53= traffic distribution among multiple regions AWS CloudFront A content delivery network (CDN). High performance due to caching content near where your users are and lowers latency. An origin is the location that a distribution sources content from, can be an EC2 instance, public S3 bucket, HTTP. DDoS protection (cuz worldwide), integration w/Shield, AWS Web App Firewall.
Written for
- Institution
- AWS Certified Cloud Practitioner
- Course
- AWS Certified Cloud Practitioner
Document information
- Uploaded on
- February 10, 2023
- Number of pages
- 34
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
aws certified cloud practitioner 2022 with 100 correct answers