Opsworks comprises of 3 different products, what are they?
Ops works is in fact 3 separate products
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?
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.
When creating a stack what config parameters do you set up?
What are the chef recipes life cycle events?
I wnat to install software on my instances when they are created by Opsworks, how cna I do this?
I create a chef recipe, store it on git, s3 or HTTP server. I configure the stack to use this recipe repository. I create a layer for my instance and in the recipe section select to use the chef scrip under the Startup event.
I want each instance in my Opsworks layer to make configuration changes to it running software when a new instance is added, how cna I do this?
Ensure the stack is configured to use one of the repositories used to store chef recipes (git, s3 and HTTP). In the layer under recipes and using the configure life cycle event select the chef recipe you wnat to use.
If I wnat my instances in a layer to have public IP, how can I do this?
Select the enable public IP in the layer settings
If I wnat my instances in a layer to have elastic IP, how can I do this?
Select the enable elastic IP in the layer settings