From the course: Learning HashiCorp Packer
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Provision a MariaDB server - Packer Tutorial
From the course: Learning HashiCorp Packer
Solution: Provision a MariaDB server
(upbeat music) - This challenge was asking you to provision a MariaDB service. So I have in front of us, the simple website templates as a base, and I'm going to rename bits and pieces to remove any reference to nginx. So at the bottom, in our provisioner steps we no longer want to install these nginx steps. Keep these for now because we'll amend this. We also want to rename the resulting AMI so that it reflects that this image includes MariaDB. I asked for you to update the base image to 1804 of Ubuntu. So we'll amend this filter and the code name for Ubuntu 18.04 is Bionic. Now that will now pick up 1804 to build on. The next step is to amend our installation commands. So here we had installed nginx. We're going to install mariadb.server instead. Okay. That should be everything we expect to change. Let's validate our file. Yes. I have left the uploads in here for the nginx website. This is why the validate…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Select an AWS AMI base2m 31s
-
(Locked)
Automate AWS AMI base build3m 28s
-
(Locked)
Using build variables6m 55s
-
(Locked)
Provision Hello World1m 59s
-
(Locked)
Provision a basic site3m 40s
-
(Locked)
Challenge: Provision a MariaDB server40s
-
(Locked)
Solution: Provision a MariaDB server3m 45s
-
(Locked)
-
-
-
-