For this chapter, let's skip the normal questions. Fire up some virtual machines and choose the orchestration platform of your choice. Configure the network security groups to allow HTTP traffic.
Try to configure the following resources with Ansible, SaltStack, or PowerShell DSC:
- Create a user and make it a member of the group wheel (RH-based distributions) or sudo (Ubuntu).
- Install an Apache web server, serve content from /wwwdata, and secure it with AppArmor (Ubuntu) or SELinux (RH-based distributions) and serve a nice index.html page on this web server,
- Restrict SSH to your IP address. HTTP ports must be open to the whole world. You can use systemd methods by providing override files or FirewallD.
- Deploy a new virtual machine of the distribution and version of your choice.
- Create a new /etc/hosts file using variables. If you use PowerShell DSC, you'll need...