AWS OpsWorks Flashcards
Opsworks comprises of 3 different products, what are they?
Ops works is in fact 3 separate products
- OpsWorks stacks
- Opsworks for Chef automation (not needed for the exam)
- Opsworks for Puppet automation (not needed for the exam)
What is a OpsWorks stack?
Opsworks is configuration management for some of the standard IaaS components in EWS. It is a higher level of abstraction over componets like EC2.
What is an OpsWorks layer?
A layer is a set of configurations that when applied will configure the required component in you deployment. Such as EC2 instance,
What is an RDS service layer?
This is a OpsWorks layer that can represent and existing RDS instance within OpsWorks. The RDS instance represented by the service layer is already created.
What layer types can you have in OpsWorks?
- EC2 instance layer
- ELB layer
- ECS Cluster Layer
What is an ECS Cluster service layer?
It is launching and maintaining containers in an existing ECS cluster.
What is OpsWorks auto healing?
This is when you have an agent on the instance and if this agent and Ops|Works loose comms, OpsWorks will stop and start you instance if it is a EBS backed instance or it will delete and create a new instance if it is a store-backed instance.
Can I use OpsWorks stacks with windows?
Yes, it is supported.
Is Opsworks a global or regional service?
It is a global service but it crates resource in a region, you have to select the region.
Can Opsworks stacks create and manage EC2 clusters?
No, ops works does not create EC2 clusters, if you already have an EC2 cluster then you can add it to the stack as an EC2 layer.
What are you doing when you add an EC2 cluster layer to you Opsworks stack?
You are adding a layer to the stack of the type EC2 and this will be an external EC2 cluster you have already created.
I wnat to have my stack instances recover in the event of failure, how cna I achieve this?
Ops work as a configuration item in the configuration for the layer that enables you to select auto-healing for the instance.
For auto-healing where is the configuration item?
It is in the layer settings.
Explain how auto-healing works in Opsworks stacks?
Each instance in an ops works stack layer has an agent if the agent does not talk with the Opsworks services for more then 5min the instance, the instance will be considered failed. Ops work will take action to start and stop the instance if the instance is EBS if the instance is a local store instance the instance will be replaced.
Can I add existing EC2 instances to my instances layer?
Yes, you can add the existing instance to your layer. It will also install the Opsworks stacks agent on the instance.
When I add an existing EC2 instance to a opsworks stack layer, what will opsworks do as part of this process?
Opsworks will install and agent on the EC2 instance so Opsworks stack can manage the instance.
Can I register on-prem instances with opsworks?
Yes, in the opsworks stack layer you select register instance, you will be given the option to install the agent on the on-prem VM.
What is the ops work agent used for?
It is used to manage the instance under control of opsworks.