Practice 2 Flashcards
AWS OpsWorks is a
configuration management service that provides managed instances of Chef and Puppet. Chef and Puppet are automation platforms that allow you to use code to automate the configurations of your servers.
Access Keys are used for
api calls and not for logging in to EC2
Canary:
Traffic is shifted in two increments. You can choose from predefined canary options that specify the percentage of traffic shifted to your updated Lambda function version in the first increment and the interval, in minutes, before the remaining traffic is shifted in the second increment.
Linear:
Traffic is shifted in equal increments with an equal number of minutes between each increment. You can choose from predefined linear options that specify the percentage of traffic shifted in each increment and the number of minutes between each increment.
All-at-once
All traffic is shifted from the original Lambda function to the updated Lambda function version at once.
Instance metadata
the data about your instance that you can use to configure or manage the running instance. You can get the instance ID, public keys, public IP address and many other information from the instance metadata by firing a URL command in your instance to this URL:
http://169.254.169.254/latest/meta-data/
The best way to implement a bastion host is to
create a small EC2 instance which should only have a security group from a particular IP address for maximum security.
AWS Certificate Manager (ACM) is a service that lets you
easily provision, manage, and deploy public and private Secure Sockets Layer/Transport Layer Security (SSL/TLS) certificates for use with AWS services and your internal connected resources
AWS IoT Core is a
managed cloud service that lets connected devices easily and securely interact with cloud applications and other devices.
Steps to minimize backup time in Raid array
- Stop all applications from writing to the RAID array.
- Flush all caches to the disk.
- Confirm that the associated EC2 instance is no longer writing to the RAID array by taking actions such as freezing the file system, unmounting the RAID array, or even shutting down the EC2 instance.
- After taking steps to halt all disk-related activity to the RAID array, take a snapshot of each EBS volume in the array.
principle of least privilege
means granting only the permissions required to perform a task
AWS services encrypts data at rest by default
AWS Storage Gateway
Amazon Glacier
Enabling encryption for Amazon RDS, ECS and Lambda
you still have to enable and configure them first with tools like AWS KMS to encrypt the data at rest. (not by default)
Perfect Forward Secrecy
feature that provides additional safeguards against the eavesdropping of encrypted data, through the use of a unique random session key. This prevents the decoding of captured data, even if the secret long-term key is compromised
two AWS services that supportPerfect Forward Secrecy
CloudFront and Elastic Load Balancing
DynamoDB is a fully managed service which automatically scales its storage - T or F
true
shared responsibility model - AWS manages the security of the following assets
• -Facilities
• -Physical security of hardware
• -Network infrastructure
-Virtualization infrastructure
shared responsibility model - Customer responsibility
• -Amazon Machine Images (AMIs) • -Operating systems • -Applications • -Data in transit • -Data at rest • -Data stores • -Credentials -Policies and configuration
Classic Load Balancer supportServer Name Indication (SNI) - true or false
false; it does not support
Server Name Indication (SNI)
allows multiple domains to serve SSL traffic over the same IP address by including the hostname which the viewers are trying to connect to
2 services that allows you to decouple architecture in AWS
SQS and SWF
ENI
Elastic Network Interface - logical networking component in a VPC that represents a virtual network card
You can attach a network interface to an EC2 instance in the following ways:
- When it’s running (hot attach)
- When it’s stopped (warm attach)
- When the instance is being launched (cold attach).
Amazon S3 supports the following destinations where it can publish events:
SQS, SNS and Lambda
DynamoDB Time-to-Live (TTL) mechanism enables you to manage web sessions of your application easily - T or F
true
Size Capacity for TB Snowball appliance
80 TB (72 usable)