Course Slides
Course Slides
Cloud Practitioner
Bootcamp
January 2023
Learning Objectives
● https://linkedin.com/in/billboulden
● https://twitter.com/downupright
4
About You - What Qualifies You To Take This Course
● Almost no prerequisites
● This can be anybody’s first AWS course
● If you want to play along during the exercises you’ll need an AWS account
● This course assumes basic knowledge of networking essentials such as IP addresses and
domain names
5
Why AWS?
The Basics
What is AWS?
AWS is a collection of hundreds of individual products and services that work well together that
are hosted for you “in the cloud” on a secure and reliable network.
These services are accessible through an online user interface known as the console or
programmatically via API calls.
7
The Console
All the computers (servers), networking equipment, storage media, facilities management, and trusted
personnel management happens somewhere else, without you having to concern yourself with many
details. You access everything over the internet either through the console or via API calls.
This is as opposed to “On Premises,” the historically conventional way of running server farms.
9
Historical “On Premises” Costs & Problems
10
Advantages of the Cloud: Security
Security: The ability to defend against malicious traffic and protect customer resources and data.
11
Advantages of the Cloud: Reliability & High
Availability
Reliability: The ability of resources to stay up and responding successfully on a highly available basis,
as measured in 9’s. (4 9’s is slang for 99.99%)
12
Advantages of the Cloud: Elasticity
Elasticity: the ability to provide more or fewer resources based on size of workload. If the workload
doubles, the amount of resources allocated and that you pay for can also double. If the workload
shrinks to nothing, the amount of resources allocated and that you pay for can also shrink to
near-nothing.
Example:
We run 10 Lambda containers to answer API calls. Our service goes viral in a Tiktok and
suddenly 50 times the normal volume of calls come in rapidly. AWS can provision 500 additional
Lambda containers to smoothly handle these requests.
13
Advantages of the Cloud: Agility
Agility: the ability of an organization to try out new things rapidly, experiment, pivot, and respond to
changing business demands at low cost.
● Without AWS:
I wish there was a way to process images to determine their contents. Time to hire a Machine
Learning engineer, a data scientist, and spend months building a product.
● With AWS:
AWS offers the service Rekognition. Cool. I can experiment with it and have a proof of concept
running in a few hours.
14
Advantages of the Cloud: Pay-As-You-Go Pricing
Instead of spending money up front (“I will buy five Dell servers and mount them in a datacenter”) you
are billed by the amount you consume in real time (“I will provision five EC2s and pay a few cents an
hour for running them”).
15
Advantages of the Cloud: Scalability
Scalability: What works now at an initial scale will also work later at a greater scale with only minor
changes.
Example
When your developers are working on a new product that they’re hitting with a small 10 requests
per hour, things will work. When the product goes live and thousands of people are hitting the
same webpage, the same services still work, just with more resources provisioned and at
greater cost.
16
Advantages of the Cloud: Global Reach
AWS already spans the globe and has built out a network of edge servers in all major metro areas; put
that to work for you rather than reinventing it.
17
Advantages of the Cloud: Economy of Scale
AWS benefits from economy of scale by running massive amounts of computing with fixed overhead
costs, personnel costs, and facilities costs and can pass those savings on to you, making compute
resources in the cloud cheaper than their On Premises counterparts for anything but the largest
scales.
18
Advantages of the Cloud: Focus
Opportunity Cost: when you choose to focus energy, time, and resources on addressing a certain
issue, you are choosing not to spend that energy, time, and resources on something else that could be
more revenue-generating, referred to as the “opportunity cost”.
Example:
An engineer works at your company. A hard drive in one of the servers fails and needs to be replaced.
The engineer physically replaces the hard drive, runs a restore, then spends days configuring RAID so
this does not happen again.
Or:
We use Simple Storage Service (S3) to store files with 99.999999999% durability. The engineer uses
their day to code a new feature for the software that users love.
19
Questions?
AWS Cloud
Economics
● Upfront costs that are paid at the outset, therefore needing capital.
● “We are going to start a server farm and it needs five hundred Dell servers all running licensed
Windows.”
● That’s six or seven figures before you write your first line of code.
22
OpEx - Operational Expenses
● Ongoing costs that are paid over time (usually monthly) like salaries, bills, and utilities to keep a
service operating.
● “Our 500-server Dell farm requires two on-staff systems engineers across three shifts, costs
$150,000 a month to power, and $80,000 in bandwidth costs for traffic.”
Or
“Our 500 c4.large servers cost $60,000 a month in AWS bill to run.”
23
TCO- Total Cost of Ownership
● The entire price paid for the whole effort, combining up-front CapEx with ongoing OpEx on a
recurring basis.
● “This server farm will cost us $1,000,000 initially and also $350,000 per month”
● “This selection of AWS EC2 instances (individual virtual servers) will cost us $60,000 per month
with no upfront costs”
24
TCO Includes:
● Equipment costs
● Software licensing fees (Windows and Oracle among others)
● Salaries (OpEx) & cost of job search finding those people (CapEx)
● Facility Fees (power, A/C, rent)
● Network fees (internet bandwidth)
25
AWS Transforms CapEx into OpEx,
and usually, less of it.
Right-Sized Infrastructure
Via elasticity, by only paying for the resources necessary at any given time, you eliminate waste.
In the 500-server dell server farm example, there’s no ability to get your money back for all the times
only 100 of the servers are being used. There’s also no ability to summon 500 more servers if
necessary.
27
Benefits of Automation
28
Reduce Compliance Scope
Thanks to the Shared Responsibility Model and some help from AWS Artifact, when you are doing a
security audit, you can skip all the sections regarding your physical datacenter and access to it.
If you are using specialized services such as Relational Database Service (RDS) or DynamoDB, the
shared responsibility model covers even more, and you can skip straight to the parts about protecting
customer data.
29
Questions?
Design
Principles
Monolith:
● One massive Ruby on Rails server that acts as a database host, mail-sending server, web
application server, API call server, and image storage
Decoupled components:
● A farm of highly available small Ruby on Rails servers that act as application servers
● SES (Simple Email Service) for email sending
● RDS for a MySQL database
● S3 for image storage
● API Gateway that calls Lambdas for API hosting functionality
33
Use the right service for the job.
Calculating Failure Rates
The total reliability/availability of a service is the 9’s of all the services it relies upon multiplied together.
35
Design For Failure
● The atomicity of different AWS services makes it so that parts of your application might go down
but the rest remain up.
● HTTP request -> API Gateway -> Lambda -> SQS Queue -> Lambda -> DynamoDB
● Design your system to be resilient so that the most satisfactory behavior is still followed even if
one of these components is currently down.
36
Think Parallel
● Could there be two EC2 servers in an Elastic Beanstalk pool rather than one?
● Could there be a failover replica of the database in another region?
37
Questions?
AWS Cloud
Adoption
Framework
(CAF)
40
Six Categories and Lifecycle of the CAF
41
Four Phases of the CAF
● Envision: in other words, plan/identify. Brainstorm the things the cloud can make better.
● Align: get your ducks in a row across different departments. 🦆🦆🦆🦆
● Launch: small pilot phase
● Scale: take the small pilot from the last phase and adopt it at scale
42
Four “Transformation Domains”
● Technology
● Process
● Organization
● Product
43
Six “Perspectives”
● Business
● People
● Governance
● Platform
● Security
● Operations
44
Questions?
The
Difference
Between
Serverful &
Serverless
Serverful: There is an application running on a
Server
● Serverless services, while of course at the end of the day they do run on servers, abstracts
away the reality of operating systems, groups and users and permissions, and configuration
details to simply perform some service in response to requests.
● They are associated with scalability and elasticity.
● They tend to charge by the individual request.
● They are harder to attack and compromise.
● They have specialized purposes rather than general purpose computing.
48
Examples of Serverful Services
● EC2
● Elastic Beanstalk
● RDS
● Elasticache
● Lightsail
Examples of Serverless Services
● Lambda
● DynamoDB
● Aurora Serverless
● Simple Storage Service (S3)
● Simple Notification Service (SNS)
● Simple Queuing Service (SQS)
In general, prefer serverless
services to serverful ones.
Questions?
On-Demand,
Reserved,
Spot
● With On-Demand you pay for the amount of time that your server is running. (If the server is
stopped/off you do not pay.)
● It is expressed in a cost per hour. For example, as of the time of writing these slides, a c4.large
costs 3.8¢ per hour to run.
● Costs can be reduced by running the minimal elastic servers needed to meet demand at any
particular time, and by turning servers off when they are not needed (for instance, the
development environment at the end of the workday).
54
Reserved
● Pay a larger fee up front to commit to pre-buying an instance for a term of one or three years, at
a savings of roughly 40%.
● Costs cannot be reduced after the commitment.
● A wise strategy is to reserve the servers you know will always be on. For example, if you are
running an Elastic Beanstalk pool that can scale down to two servers but under periods of high
load is allowed to scale as high as 16, purchase two reserved instances since at least two
servers will always be running to serve the bare minimum of requests.
● They do not need to consistently be the same two servers.
55
Spot
● A live bidding auction that asks for your service to only run when the price of computing falls
below a certain threshold.
● E.g. I am not interested in paying 3.8¢ per hour for my c4.large to run. Instead I will bid at 3.6¢
per hour. I am willing to wait and possibly have my service not run if computing remains
expensive, but if AWS has extra capacity to spare at any given moment, they will auction it off to
those who bid highest, and those spot instances will run.
56
On-Demand Use Case
● “I am playing with a new server pool. I don’t know how big it needs to be yet.”
● “I am spinning up a new database from a snapshot so I can run some historical reports on it,
then I’ll be deleting it later.”
● “My Elastic Beanstalk server pool can oscillate from two to eight servers in size. It will rarely
need the full eight. I’ll buy some of those on-demand so I only pay when they’re necessary.”
57
Reserved Use Case
● “My Elastic Beanstalk pool can oscillate from two to eight servers depending on load. At a
minimum, though, there needs to be two servers running to redundantly serve traffic even if
demand is low. Since I will always have at least two servers running, I will reserve two
instances.”
● “The database server RDS is central to our application and is always on and there is no reason
for it to ever turn off or go away. I will reserve one database instance for one year.”
58
Spot Use Case
“I have a large neural network ML model to train. It is going to cost me approximately $160,000 in
computing costs to process the entire training data set. It is not important to me when it gets done but
even a slight savings on computing time will be significant. I will ask for servers that only run when the
price of compute falls below 2¢ per hour and if it takes months for me to get my turn so be it.”
59
Questions?
Organizations
Consolidated Billing
Organizations: Several Accounts Under One Roof
● Separate out the budget ● Separate out the budget ● Christie has a budget of
for production from the for Product to use $100 she can use in a
budget for running resources as opposed to sandbox to try out new
development Marketing and services and agile-ly
environments Development and experiment; so does
Operations Clayton. Neither can run
up a bill of thousands on
their own.
63
Questions?
Support
66
Trusted Advisor
Automated service that identifies common mistakes or warning signals in your AWS account
67
Basic Support: The Default
68
Developer Support
69
Business Tier Support
70
Enterprise On Ramp Tier Support
71
Enterprise Tier Support
● $15,500/month or 10% of bill (0-150K) + 7% of bill (150-500K) + 5% of bill (500K-1M) +3% of bill
(over 1M), whichever is greater
● Full suite of Trusted Advisor checks
● Prioritized Trusted Advisor checks curated by your team
● Architectural guidance: Consultative review
● Technical Account Managers provide proactive guidance
● Business-critical system down: < 15 minutes
72
All tiers include:
73
Questions?
Budgets and
Tags
Understanding Budgets
76
Budget Use Case
“For the last few months, my AWS bill has been around $2,500. It has been as low as $2,300 and as
high as $2,600. If it was to go over three grand, though, something has gone wrong. I will institute a
budget for $3,000 and be warned if my bill surpasses this amount.”
77
Sample Budget from my AWS account
78
Savings Plans
● An alternative to Reserved Instances that does not care about region or type of instance.
● More flexible than Reserved Instances, newer.
79
Helpful Templates for Common Use-Cases
80
Tags
● Tags, like Organizations, help you separate out different costs and spends. You can set a budget
for a specific tag (“Alert me if things tagged Christie or Staging-Area are forecasted to exceed
$500”).
● Any resource in AWS can be tagged. Individual servers, individual DynamoDB tables, individual
Lambdas.
81
Tags Continued
82
QuickSight for Budgeting
Is a BI (business intelligence) tool but can also be used to report on Budgets and Costs.
83
The “Concierge” team unlocked at Enterprise Tier…
Specializes in assisting with lowering your bill and working on budgets and costs to keep your monthly
spend as low as possible.
84
AWS Pricing Calculator Demo
Questions?
Cost Explorer
Live Walkthrough
Questions?
The Shared
Responsibility
Model
Formal Definition
Security and Compliance is a shared
responsibility between AWS and the customer.
This shared model can help relieve the
customer’s operational burden as AWS
operates, manages and controls the
components from the host operating system and
virtualization layer down to the physical security
of the facilities in which the service operates.
The customer assumes responsibility and
management of the guest operating system
(including updates and security patches), other
associated application software as well as the
configuration of the AWS provided security
group firewall.
AWS’s Responsibility
● Facility Management
● Personnel Management
● Physical Security of the Datacenter
● Separating compute assets and network
traffic so that even on shared hardware, no
customers’ data ever crosses lines
● Accurately enforcing those rules which you
do specify
Your Responsibility
93
Example Part II: S3 Bucket
Permissions
As you move from generalized computing to
specialized services, the SRM (Shared Responsibility
Model) changes
● When you are using general purpose computing (EC2’s which run their own operating systems)
you have to keep their OS and software patches and updates; you have to administer users and
groups; and manage security groups.
● When you move one level more specialized to a service like RDS (databases-as-a-service)
AWS takes over some of this and reduces your exposure.
95
Questions?
AWS Artifact
Compliance &
Documentation
Amazon’s documentation about its half of the SRM
lives in AWS Artifact
98
Note about HIPAA
99
AWS Artifact Walkthrough
Questions?
Encryption
● Means the data is stored in an encrypted state when it is being left alone on a hard disk or in
storage of some kind.
● EBS (Elastic Block Store): enabled via a checkbox
● RDS (Relational Database Service): enabled via a checkbox
● DynamoDB (NoSQL Document Database): enabled via a checkbox
103
In-Transit Encryption
104
Questions?
Observability
Understand what is
going on in your
account
Cloudwatch
● All logs generated by the operation of individual AWS services are aggregated here
● Logs generated on specific servers need to be collected via Cloudwatch Logs Agent
● Metrics
● Alarms
107
Alarms can be in three states
● CloudTrail logs all configuration changes to AWS resources along with the IAM information of
who took the operation.
● CloudTrail needs to be enabled, unlike CloudWatch, which collects logs by default
● CloudWatch would log what happens ON your server; CloudTrail would log what happens TO
your server.
110
Live CloudTrail Demo
AWS Config
● AWS Config stores historical data about server configurations and can go back in time to see
what a server looked like on a given day.
● It can also track compliance across servers.
112
Questions?
Root Account
vs. IAM
Root Account: When you log in with email & pw
115
IAM: When you log in with account id, user name &
pw
116
Legitimate reasons to log in as root
117
Never use Root Account otherwise.
Should Root Account have MFA enabled?
119
I was wondering if I would ever not enable MFA on
my root account-
120
Questions?
Understanding
IAM
● Can log in
● Can have console passwords
● Can have programmatic API access keys
● Can have policies attached directly
● Can belong to groups
● Can assume roles
123
IAM Policies
Say that an entity is ALLOWed or DENYed to perform a given operation on a given resource.
124
IAM Groups
125
IAM Roles
126
IAM Live Walkthrough
Questions?
Overall Q&A on the day
Ask me questions after the fact!
● https://linkedin.com/in/billboulden
● https://twitter.com/downupright
130
Global,
Regions, AZs,
Edge
AWS services exist at one of four tiers
A service is either:
● Global
● Regionally Based
● Availability Zone Based
● Edge Based
Global
A global service is one that is effective worldwide, because it would not make sense for the
“computing” to happen in a specific place.
133
Examples of Global Services
134
Region
● A region is a set of datacenters in one area of the globe comprised of several individual
availability zones.
● Most abstract and serverless services are regional.
● Sample regions include us-east-1 (Virginia), us-east-2 (Ohio), ap-southeast-2 (Sydney),
eu-west-2 (London).
● There are two special regions you need to be granted special allowance to: China (which
requires its own account and cannot coexist with a non-China account) and US GovCloud.
135
Examples of Regional Services
● S3
● Lambda
● Kinesis
● DynamoDB
● SNS
● SQS
136
Availability Zones
● One or more redundantly connected individual datacenters where things actually run. The
specific locations are not disclosed.
● Most services that are serverful (think: devices that have IP addresses) are instantiated on the
availability-zone level.
● As an example, us-east-2 (Ohio) has three availability zones:
○ us-east-2a
○ us-east-2b
○ us-east-2c
137
Examples of Availability Zone-Based Services
● EC2s
● RDSs
● Elastic Beanstalk
● Elasticache
138
Edge Locations
● AWS maintains a global network of Edge Locations, which is caching infrastructure that holds
files “close” to where users live. Most major metro areas have an Edge Location.
● This prevents cross-global trips for fetching basic data.
139
Examples of Edge Location-Based Services
140
Questions?
Ways of
Working
143
The CLI (Command Line Interface)
144
API Calls
145
Javascript SDK
146
Other SDKs (one for most languages)
147
CloudFormation
148
Questions?
Networking
Basics
● A way of writing IP addresses. The number N after the slash essentially says “the last N bits of
this IP address are wildcard.” Remember, one number = 8 bits.
● 10.10.0.0/16 -> the last 16 bits are wildcard -> basically means 10.10.0.0 thru 10.10.255.255.
● 192.168.0.0/8 -> the last 8 bits are wildcard -> basically means 192.168.0.0 thru 192.168.0.255
151
VPC (Virtual Private Cloud)
152
Subnets
● Reserve a particular subset of a VPC’s CIDR for application to a particular availability zone.
● Sample setup:
○ The entire VPC is 10.0.0.0/24
○ But a subnet of it is 10.10.1.0/8 covering us-east-2a.
● Devices in us-east-2a will get ip addresses such as 10.10.1.6 and the like.
● The first four and final IP addresses in a subnet are reserved for routing purposes.
153
Network ACLs
● Each Subnet has an associated Network ACL. This is a set of rules about protocols and ports
that are allowed to traverse within that subnet.
● Network ACLs are made up of precedence-ordered ALLOW and DENY statements that say that
certain ports or protocols to given sources can traverse the network.
● 1 Allow HTTPS 10.10.1.6
● 2 Allow SSH 10.10.1.6
● 100 DENY all, all
154
Route Tables
● Each subnet has an associated Route Table. A Route Table says where traffic routes to.
● For instance:
○ Route all traffic matching 10.10.1.0/16 locally
○ Route all traffic matching 0.0.0.0/0 to the NAT Gateway
155
Internet Gateway
● A two-way configuration that allows traffic in from the public internet and out from the VPC.
● Use with a route table to create publicly accessible resources.
156
NAT Gateway
● A one-way virtual appliance that allows traffic from inside the VPC out to the public internet but
does not route traffic from the public internet back in.
● Is secretly an EC2 instance.
157
Elastic IP
A free-standing public IP address that can be associated with different devices without needing to
relinquish the IP address should the server change.
158
Security Groups
Abstract classifications of servers that can be used in conjunction with EC2s and RDSs to allow some
kinds of connections and deny others
159
Live VPC Walkthrough
Questions?
EC2
Virtual Computing
● Elastic Cloud Compute (EC2) is the most important AWS service. It creates virtual servers with
AMIs (Amazon Machine Images) and allocates them computing resources.
● You can do virtually anything with an EC2. By installing specific software on it, you can make it
into any kind of server.
● Remember that if AWS offers “Thing As A Service”, it is more correct to use that specific service
than to recreate the service by building from the ground up on an EC2.
164
AMI (Amazon Machine Image)
● The pre-installed operating system as well as pre-installed software packages that the server will
be “born with.”
● Amazon Linux
● Microsoft Windows (license fees included in server costs)
● Mac OS
● Other Linux distributions (Ubuntu, Red Hat, SUSE, more)
● Marketplace: vetted by Amazon
● Community: use at your own risk
165
Class - generation - size
166
Commonly Used Classes
167
Live EC2 Walkthrough
Questions?
Databases as
a Service
171
ElastiCache
172
DynamoDB
173
Redshift
● Data Warehouse
● Offers serverless option
● Use any SQL client to query
● Built-in Machine Learning
174
Special Purpose Databases
175
Live RDS Walkthrough
Questions?
EC2
Advanced
Serving
179
Benefits of Auto Scaling
● Resilience/Redundancy/Fault Tolerance
○ If one AZ suffers failures other AZs can cover
○ Each server is individually unremarkable so there is no single point of failure
● Pay-as-you-go pricing at its finest
○ More servers when load demands that you need them, fewer servers when things are
quiet
180
Load Balancer
● A Load Balancer is a configuration with one IP address that can farm out traffic that reaches it to
any number of individual instances. It’s how you make an Auto Scaling Group pool of 10 servers
all effectively function behind one facade, e.g. MyApp.com.
● When a request arrives at a Load Balancer, it selects one of the devices in the target group and
forwards the request to that server, receives a response, and forwards the response back to the
original requester.
181
Three Types of Load Balancer
182
Elastic Beanstalk
● Elastic Beanstalk bundles together EC2’s, Auto Scaling Groups, and Load Balancers into one
service that makes web application serving easy.
● It doesn’t do anything you couldn’t do manually by configuring all these services yourself, but it
does so seamlessly and manages deploys of new versions of the app elegantly.
183
Live Elastic Beanstalk Walkthrough
Questions?
S3
S3 - Simple Storage Service
● Unlimited storage (usually of files) with 99.999999999% durability (the files are intact and their
contents match what was originally written).
● Supports multiple tiers of availability (called Storage Classes).
● The basic unit is called a Bucket and the things in Buckets (usually files) are called Objects that
have Keys (usually filenames).
● You PUT Objects into Buckets and then GET them later by their Key.
187
Standard Class
191
Live S3 Walkthrough
Questions?
Other, related
Storage
Services
EBS (Elastic Block Store)
● Disk space-as-a-service
● Can be attached to EC2 Instances
● SDD or HDD based
● 99.999% Availability
● Can’t be easily scaled later (I had a 100 GB hard drive and now need 200 GB)
195
EFS (Elastic File Store)
196
Snowball
Image Placeholder
AWS Storage Gateway
199
Questions?
Quick Hits
A miscellany of
services you may have
to identify
Lambda
202
ECS (Elastic Container Service)
203
EKS (Elastic Kubernetes Service)
Same as ECS but specifically uses the popular Kubernetes framework to orchestrate the containers
204
Fargate
205
Athena
206
Kinesis
Pipelines that process streaming data. Also Kinesis Firehose which is scalable and serverless. Good
way to load data into data warehouses.
207
SNS (Simple Notification Service)
208
SQS (Simple Queue Service)
209
Lightsail
210
WorkSpaces
Virtual desktops as a service. They’re VMs just like EC2s are but the purpose is not to serve an
application, but to be remoted into for performing work on.
211
Amazon Aurora
A special RDS that exposes the same interface as Postgres or MySQL but optimized to run at Amazon
well. Available in a serverless flavor.
212
CodeCommit
Hosted Git source code version control. Very much like a less-featureful GitHub.
213
CodeBuild
Watches a Git repository for commits and then runs an automated script (called buildspec.yml) on a
short-lived EC2 instance to compile, test, or otherwise build the code.
214
CodeDeploy
An agent that deploys the results of a CodeBuild to servers or containers or Lambdas. Supports
advanced deploy scripts and manages rollbacks.
215
CodePipeline
Marries a CodeCommit, CodeBuild, and CodeDeploy under one roof to create a complete CI/CD
pipeline (Continuous Integration Continuous Deployment).
216
CodeStar
Marries CodeCommit, CodeDeploy, and CodePipeline together with Cloud9, an in-browser code
editor, to create a truly cloud-based application development platform.
217
Amazon Connect
Customer support as a service. Combine phone numbers or online chatbots with business logic.
218
API Gateway
An API “facade” that provides a unified RESTful interface that can use Lambdas or EC2s or proxies to
serve the requests behind the scene.
219
Route 53
220
AWS Cognito
Consumer identity as a service. Manages usernames, passwords, and social logins so you don’t have
to. Like Auth0.
221
AWS WAF (Web Application Firewall)
A global firewall that can be imposed on Cloudfront, Application Load Balancer, and API Gateway
222
Questions?
Quick Hits,
Part II
Two-sided marketplace for complete third-party data sets of health, retail, finance, government, and
more information
225
AWS Glue
A pipeline that
helps prepare
many data sources
for transformation
and ingestion into
a data lake
226
OpenSearch Service
227
Step Functions
A workflow system of Lambdas glued together. You can stitch little Lambdas together in distinct
sequences and steps to create workflows, like Zapier, Fiorano, Mule, etc.
228
Simple Email Service (SES)
Transactional email service, for sending individual emails at scale. Absolutely comparable to Sendgrid
or Mandrill. Don’t think of it as a substitute for MailChimp or ConstantContact, though一it’s not a
marketing tool.
229
Batch
230
AWS Local Zones
“Local Zones” are a new “mini region.” They are like tiny regions that are very specifically in one
specific urban center. They don’t offer all services or all instance types in all locations, though!
Furthermore, they haven’t been launched in the burgeoning urban metropolis of Buffalo, NY yet, so
how serious can they really be? :)
231
AWS Outposts
232
AWS Activate
Tens of thousands of dollars in credits for your startup if you launch it on AWS!
233
AWS IQ
Two sided marketplace for seeking and providing AWS help. Pretty straightforward. I haven’t used it,
although maybe I should! 😎
234
Amazon AppStream
Install desktop software in the cloud, but end-users can interact with it in their browsers as though it
was browser-native SaaS software. Including appropriate encryption and VPN.
I ~think~ (?) this is similar to what some applications like Citrix do, but I haven’t used Citrix in a
decade.
235
AWS Amplify
I have had EXTREMELY mixed results, across many attempts. Use at your own risk as far as I am
concerned.
236
AWS AppSync
A GraphQL server that directly competes with Apollo, but is at present far, far inferior to Apollo.
237
AWS Device Farm
238
AWS Detective
Analyzes observability services and security logs to try to automatically triage and detect potential
security violations.
239
AWS Directory Service
240
AWS Secrets Manager
Very robust, IAM-integrated encrypted secret storage. You won’t need to put API keys and other such
sensitive data in source code anymore!
241
Questions?
AI/ML Shallow
Dive
254
Which of the following is a benefit of Agility?
255
I need to connect an on-premises datacenter with
S3 storage securely. What do I use?
1. Storage Gateway
2. Elastic Block Store
3. Elastic File System
4. An FTP Server
256
Which of the following is NOT your responsibility
under the Shared Responsibility Model?
257
Which of the following is true about AWS
Marketplace Amazon Machine Images (AMIs)?
1. They are vetted by AWS before being allowed into the Marketplace.
2. They are use-at-your-own-risk.
3. They are only available in us-east-1.
4. They need their own domain name to function.
258
What AWS service lets me run Kubernetes in the
cloud?
1. ECS
2. EBS
3. EFS
4. EKS
259
What S3 storage class is not appropriate for files
that need to be available on-demand and
immediately? (choose two)
1. Standard
2. Infrequent Access
3. Glacier
4. Glacier Deep Archive
260
Which of the following is not a benefit of Scalability?
1. The same things that work today at small scale will work tomorrow at a larger scale.
2. The software runs faster.
3. You only pay for the resources you consume at each point in time.
4. New resources can be provisioned as the need arises.
261
I need a Business Intelligence Dashboard that can
report on my AWS usage. What service do I want?
1. AWS Athena
2. AWS Superbytes
3. AWS QuickSight
4. AWS Lambda
262
Which of the following is not a feature of Enterprise
Level Support?
263
I just made an AWS account. What steps should I
take immediately to make it secure? (Choose Two)
264
What describes a system that continues to work
even as an individual component of its functioning
fails?
1. Scalable
2. Agile
3. Durable
4. Fault Tolerant
265
What service can track how AWS systems were
configured in the past?
1. CloudTrail
2. X-Ray
3. AWS Config
4. AWS EBS
266
What reason might you select EFS over EBS for
storing files for a particular application?
1. As your storage needs grow, EFS grows, whereas EBSs are locked in to the same size.
2. EFS is notoriously faster.
3. EBS can’t be attached to EC2 instances while EFS can.
4. EBS’s are not covered under the SHared Responsibility Model.
267
What is the name for ongoing monthly expenses
rather than fixed up-front capital expenses?
1. CapEx
2. OpEx
3. TCO (Total Cost of Ownership)
4. AWS Budgets
268
What service lets me deliver content around the
globe quickly using Edge Locations?
1. CloudWatch
2. EC2 Availability Zones
3. CloudFront
4. IAM Policies
269
Which of the following is true of the Shared
Responsibility Model?
1. When you use more specifically tailored services, AWS’s share of the SRM grows.
2. When you use more specifically tailored services, AWS’s share of the SRM shrinks.
3. When you use more specifically tailored services, AWS replaces the Shared Responsibilty
Model with the Business Responsibility Model.
4. All services are treated equally under the Shared Responsibility Model.
270
Which of the following is not true about VPC’s?
271
What service allows me to deny traffic on certain
ports and protocols within a VPC?
1. Network ACLs
2. Route 53
3. Subnets
4. AWS WAF (Web Application Firewall)
272
Which class of server is ideal for web serving
applications and why?
273
What AWS service enables a single facade to farm
out traffic to many distinct EC2 instances?
1. Elastic Beanstalk
2. Elastic Load Balancer
3. Auto Scaling Groups
4. AWS RDS
274
What package can Python scripts use to
communicate with AWS services?
1. PyAws
2. aws-python-sdk
3. boto
4. The AWS Console
275
Which service allows me to run my infrastructure as
code rather than manually spinning everything up?
1. AWS SageMaker
2. AWS Workspaces
3. Network ACLs
4. AWS Cloudformation
276
Which of the following is true about an IAM user who
has a group policy DENYing the right to delete EC2s?
277
Which of the following is not true of AWS root
accounts? (Choose Two)
278
I wake up and my EC2 is gone. What service will help
me see who deleted it?
1. AWS CloudWatch
2. AWS Cloudfront
3. AWS CloudTrail
4. AWS CloudFormation
279
Which of the following is not true about AWS
regions?
280
In what scenario is AWS Artifact appropriate?
281
Which of the following is not a reason to use Route
53?
282
Which of the following is not a state a Cloudwatch
alarm can be in?
1. OK
2. ERROR
3. ALARM
4. INSUFFICIENT DATA
283
How does one encrypt a DynamoDB table at AWS?
284
Overall Q&A on the day
Ask me questions after the fact!
● https://linkedin.com/in/billboulden
● https://twitter.com/downupright
286