OpsWorks
💡 Definition
AWS OpsWorks is a configuration management service that provides managed instances of Chef and Puppet. It lets you use code to automate the configuration of your servers.
🔑 Key Concepts
- Declarative Approach: You define the desired state of your infrastructure using Chef recipes or Puppet manifests.
- Managed Service: AWS manages the Chef/Puppet servers for you.
- Three Offerings:
- OpsWorks for Chef Automate: Fully managed Chef server.
- OpsWorks for Puppet Enterprise: Fully managed Puppet master.
- OpsWorks Stacks: Application and server management using Chef (specific to AWS, older service).
⚙️ How it Works
You write configuration code (Recipes/Manifests) that defines how to install and configure packages on your instances. OpsWorks agents on your EC2 instances or on-premises servers pull these configurations and apply them.
🎯 Use Cases
- Existing Expertise: Teams that already use Chef or Puppet for configuration management.
- Hybrid Environments: Managing on-premises servers alongside AWS instances using the same tools.
💰 Pricing Model
- Server Hours: Charged per hour for the managed Chef/Puppet servers.
- Node Hours: Charged per hour for nodes managed by the service.
📝 Exam Tips (CLF-C02)
- Keywords: "Chef", "Puppet", "Configuration Management".
- Offers a declarative way to manage config.
- Alternative to Systems Manager (which is AWS-native and often preferred for new setups).
See Also: * Systems Manager * CloudFormation * Elastic Beanstalk