Join Brian Eiler for an in-depth discussion in this video OpsWorks overview, part of Amazon Web Services: Implementing and Troubleshooting PaaS Products.
- [Narrator] In this module, we're going to look at AWS OpsWorks. And it gives us a way to manage a configuration of our different applications and systems, inside of AWS. Let's take an example. Here's an illustration of configuring an application. We might have the process of deploying an application and then, later down the road we decide we need to go and deploy another copy. The dilemma here is, how do we do this without inviting, well, human error.
In other words, deviation from the baseline. It happens. So, we need a method that would allow us to deploy these applications with as little change from the plan as possible. So if I choose to upgrade an application in one spot, I want to make sure that we're doing that same behavior in all of the applications, not just one. Minimizes a lot of the troubleshooting opportunities than trying to do things manually, and oops, we end up with a different configuration of the code.
So what exactly is configuration management? It's a process, it's in fact a process to define and manage how the configurations stay to new or perhaps even existing systems behave throughout their life cycle. There are a lot of different programs out here that can take care of this. Things like: Chef, Puppet, Ansible, Saltstack. The idea is to create a centralized configuration that we can then apply in different locations.
This is something known as configuration as code. These configuration files are typically stored in a central place such as a Git repository or some other central source of truth. And it allows us to create multiple resources and applications, while maintaining consistency and reproducibility using that one set of configuration values. Then, as we go through, making further changes we have one place where we can update that central source of configuration, and continue.
Another advantage is the operational advantage of ongoing changes that we can automate. Or even, things like version roll backs. Now OpsWorks, is basically AWS' configuration management service based on Chef. It now also supports Puppet, we'll look more in detail at both of these sides here in a moment. Using OpsWorks, users can automate a lot of server configuration aspects, deployment, and management across a variety of EC2 instances and even on premises computing resources.
Now, AWS provides three different offerings in the OpsWorks section. One is OpsWorks Stacks, another is OpsWorks for Puppet Enterprise, and then we have OpsWorks for Chef Automate. Here's an example showing how we could leverage AWS Opsworks, along with Chef in order to reproduce configuration values. We have our Chef systems ready to go, and now we're going to have a GitHub repository, that happens to have configuration files.
In this example, the Chef server looks at that, and in this case, the document file, it represents a Chef recipe. Which it will read and then interpret that to deploy new applications. If we choose to go in and update the recipe over at,say, our GitHub repository, when that's read by our Chef server, it in turn can now push out a new version of that application and automate the overall process for us. Also, cuts down a lot on configuration drift, as you'll see coming up.
- Creating an IAM user, group, and role
- Using the IAM policy simulator
- IAM best practices
- Components of CloudFormation
- Benefits of Elastic Beanstalk
- Working with OpsWorks
- OpsWorks for Chef Automate and Puppet Enterprise
Skill Level Intermediate
1. Identity and Access Management
3. Elastic Beanstalk
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.