To keep our resources secure, configure a security group, learn about how in this video.
- [Instructor] Now that we've got our VPC set up, … we're going to start writing some actual code, … and I'd like to start with the security group. … For our purposes, just think of this … as being a firewall that you can configure … per instance and assign to some other resources. … There are things most firewalls can do … that security groups can't, and vice versa. … But we're focusing on Terraform here, … so let's not get lost in the weeds. … These will work for what we need for now. … Let me open up our code again. … Now, I'm pretty much going to just copy … an example from an earlier lesson … and add a little bit more detail this time. … So, we'll add a new line at the bottom here, … and we'll just say resource aws_security_group. … And then, for the name of our group, … I'm going to call this one prod_web. … And I'll have my opening and closing curly brace, … and I'll start adding some code in between. … Now, first of all, for our arguments, … I'm just going to actually name this one prod_web. …
- Setting up Terraform
- How Terraform works
- Core Terraform commands
- Leveraging style conventions to keep code readable
- Configuring security groups
- Adding load balancers
- Using variables in your code
Skill Level Beginner
DevOps Foundations: Infrastructure as Codewith Ernest Mueller2h 6m Intermediate
1. First Steps with Terraform
2. Terraform in Action
3. Infrastructure as Code
4. Advanced Topics
Next steps3m 31s
- 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.