Deployment & Provisioning Flashcards
How to ensure that deployed instances are configured the same?
Use User Data field!
How to wait for resources to be created in CloudFormation before creating new resources?
Use Wait-Conditions
Is it possible to change EC2 settings after deployment via CloudFormation?
Yes, they can be manually changed. (ex. attach bigger disk)
How would you describe a CloudFormation Stack?
A logical grouping of resources that can be managed as a single entity.
Does BeanStalk support Go and PHP?
Yes, BeanStalk supports multiple languages including Python, GO, PHP among others.
How Can we debug EC2 instances that were deployed with BeanStalk?
Enable “Access Login” from BeanStalk.
What updates are managed with “Manage Platform Updates” in BeanStalk?
It updates minor versions.
What is the maintenance window for “managed platform updates” In BeanStalk?
2 hours /week
Does “Rolling” deployment keep applications up?
Yes, though with lower capacity.
What happens if Health Check URL is not configured?
The instances are marked as “Healthy” as soon as they accept TCP connections.
What environmental variables are created when using ‘PACKER’ to build AMI images?
*NAME; *ARN; *VERSION
What does Atomicity in ACID refers to?
Refers to the integrity of database transactions.
What does the Durability in ACID refers to?
To ensue that data is only saved when the transaction is complete.
What are ‘Databases’ called in NoSQL?
Data Stores; There are 4 stores (Document; Grpah; Key/Value; Wide-Column)
What is Wide-Column Store?
It is a NoSQL store optimised for large datasets.
What is the maximum number for read-replicas?
5 (HARD limit)
How to send notifications when changes occur in RDS?
Use RDS Events
What is the maximum size for User Data field?
16 KB
What option to use to spin a single Instance with development stack of choice?
LIGHTSAIL
Where are AWS Batch jobs stored before they run?
Job Queue
What is required to use AWS BATCH?
ECS Agent
What parameter to use in order to set launch type to ‘FARGATE’?
requiresCompatibilities
How to avoid ‘sudo’ with docker commands?
Add the user account to docker group.
After granting permissions to user accounts, what is required?
Host restart
What is required to connect from your LIGHTSAIL to servers in your default VPC?
VPC Peering
How many domains can LIGHTSail support?
10, wildcard is NOT supported!
What type of Platform updates does BeanStalk support?
Minor, Major & Patch
Note that hotfix is not supported.