Tutorial Dojo Test 4 Flashcards
attribute is required if you have any VPC-gateway attachment in your stack.
If your AWS CloudFormation template defines a VPC, a gateway, and a gateway attachment, any resources that require the gateway are …
DependsOn
Elastic Beanstalk All at once
Deploy the new version to all instances simultaneously. All instances in your environment are out of service for a short time while the deployment occurs.
Elastic Beanstalk -Rolling deployment
Deploy the new version in batches. Each batch is taken out of service during the deployment phase, reducing your environment’s capacity by the number of instances in a batch.
Elastic Beanstalk- Rolling with additional batch:
Deploy the new version in batches, but first launch a new batch of instances to ensure full capacity during the deployment process.
Elastic Beanstalk - Immutable deployment
launch a full set of new instances running the new version of the application in a separate Auto Scaling group, alongside the instances running the old version. Immutable deployments can prevent issues caused by partially completed rolling deployments. If the new instances don’t pass health checks, Elastic Beanstalk terminates them, leaving the original instances untouched.
Elastic Beanstalk - Traffic-splitting deployments
let you perform canary testing as part of your application deployment. In a traffic-splitting deployment, Elastic Beanstalk launches a full set of new instances just like during an immutable deployment. It then forwards a specified percentage of incoming client traffic to the new application version for a specified evaluation period.
Amazon Athena
is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to setup or manage, and you can start analyzing data immediately. You don’t even need to load your data into Athena, it works directly with data stored in S3.
Amazon S3 Select
S3 Select only allows simple SQL query executions for the purpose of filtering data.
need to configure the template so that values are based on the region in which the template is launched in.
The optional Mappings section matches a key to a corresponding set of named values.
For example, if you want to set values based on a region, you can create a mapping that uses the region name as a key and contains the values you want to specify for each specific region.
You use the Fn::FindInMap intrinsic function to retrieve values in a map.
Outputs
is used to declare output values that you can import into other stacks.
Amazon Cognito
Your users can also sign in through social identity providers like Google, Facebook, Amazon, or Apple, and through SAML identity providers.
Amazon Cognito used Pool Provides
User pools provide:
- Sign-up and sign-in services.
- A built-in, customizable web UI to sign in users.
- Social sign-in with Facebook, Google, Login with Amazon, and Sign in with Apple, as well as sign-in with SAML identity providers from your user pool.
- User directory management and user profiles.
- Security features such as multi-factor authentication (MFA), checks for compromised credentials, account takeover protection, and phone and email verification.
- Customized workflows and user migration through AWS Lambda triggers.
share an AMI with specific AWS accounts
All you need are the AWS account IDs. AMIs are a regional resource. Therefore, sharing an AMI makes it available in that region. To make an AMI available in a different region, copy the AMI to the region and then share it. There is no limit to the number of AWS accounts with which an AMI can be shared.
Take note that you cannot directly share an AMI that contains a snapshot of an encrypted volume. You can share your encrypted snapshots with other AWS accounts. This enables the other account to copy the snapshots to other regions, re-encrypt the snapshots, and create AMIs using the encrypted snapshots.
S3 Versioning
A means of keeping multiple variants of an object in the same bucket. You can use versioning to preserve, retrieve, and restore every version of every object stored in your Amazon S3 bucket. With versioning, you can easily recover from both unintended user actions and application failures.
add another layer of security by configuring a bucket to enable MFA (multi-factor authentication) Delete
- Change the versioning state of your bucket
- Permanently delete an object version
MFA Delete requires two forms of authentication together: - Your security credentials
- The concatenation of a valid serial number, a space, and the six-digit code displayed on an approved authentication device