Project Tour: Hashistack (Terraform, Consul, Nomad on AWS)

Опубликовано: 08 Октябрь 2024
на канале: tutoriaLinux
11,175
280

I've always wanted to be able to set up a full consul, nomad, vault, etc. environment (along with hosted applications) with a single "terraform apply." I've spent a few weekends on this now and wanted to give a small tour, although it's still a work in progress.


Here's the GitHub repository, although the code may have changed dramatically by the time you see this video: https://github.com/groovemonkey/tutor...


0:00 Introduction
1:25 terraform apply
1:59 VPC and network config
2:22 High-level architecture (so far)
4:03 Consul terraform module
4:44 instance count vs EC2 Auto-Scaling Groups (ASGs)
5:31 Consul instance configuration scripts
5:40 EC2 user-data scripts explanation
6:19 Simplifying a large (or duplicated) user-data script template
6:50 template-building with re-usable snippets
8:25 Consul EC2 security group
9:07 Consul cluster auto-join via EC2 tags
11:07 Plans for this project
11:30 SSH Local port forwarding demo
12:10 Consul and Nomad UI Demo


Step-by-step project-based Linux course for beginners: https://www.udemy.com/course/hands-on...

Free Linux Sysadmin Course Playlist:    • The Linux Basics Course: Beginner to ...  

DigitalOcean referral link: https://m.do.co/c/0380a1db56a6

Patreon:   / tutorialinux  
Official Site & e-mail list: https://tutorialinux.com/
Twitter:   / tutorialinux  
Facebook:   / tutorialinux  
Podcast: http://kernelpanicpodcast.com