Deploy STIG-compliant Linux Virtual Machines (Preview)
Microsoft Azure Security Technical Implementation Guides (STIGs) solution templates help you accelerate your DoD STIG compliance by delivering an automated solution to deploy virtual machines and apply STIGs through the Azure portal.
This quickstart shows how to deploy a STIG-compliant Linux virtual machine (Preview) on Azure or Azure Government using the corresponding portal.
- Azure or Azure Government subscription
- Storage account
- If desired, must be in the same resource group/region as the VM
- Required if you plan to store Log Analytics diagnostics
- Log Analytics workspace (required if you plan to store diagnostic logs)
Sign in to Azure
Create a STIG-compliant virtual machine
Select Create a resource.
Type Azure STIG Templates for Linux in the search bar and press enter.
Select Azure STIG Templates for Linux from the search results and then Create.
In the Basics tab, under Project details:
a. Select an existing Subscription.
b. Create a new Resource group or enter an existing resource group.
c. Select your Region.
Make sure to choose an empty resource group or create a new one.
Under Instance details, enter all required information:
a. Enter the VM name.
b. Select the Availability options. To learn about availability sets, see Availability sets overview.
c. Select the Linux OS version.
d. Select the instance Size.
e. Enter the administrator account Username.
f. Select the Authentication type by choosing either Password or Public key.
g. Enter a Password or Public key.
h. Confirm Password (Public key only needs to be input once).
For instructions on creating an SSH RSA public-private key pair for SSH client connections, see Create and manage SSH keys for authentication to a Linux VM in Azure.
a. Select the OS disk type.
b. Select the Encryption type.
a. Select the Virtual Network. Either use existing virtual network or select Create new (note RDP inbound is disallowed).
b. Select Subnet.
c. Application security group (optional).
a. For Diagnostic settings select Storage account (optional, required to store diagnostic logs).
b. Enter Log Analytics workspace (optional, required to store log analytics).
c. Enter Custom data (optional, only applicable for RHEL 7.7/7.8, CentOS 7.7/7.8/7.9, and Ubuntu 18.04).
Select Review + create to review summary of all selections.
Once the validation check is successful Select Create.
Once the creation process is started, the Deployment process page will be displayed:
a. Deployment Overview tab displays the deployment process including any errors that may occur. Once deployment is complete, this tab provides information on the deployment and provides the opportunity to download the deployment details.
b. Inputs tab provides a list of the inputs to the deployment.
c. Outputs tab provides information on any deployment outputs.
d. Template tab provides downloadable access to the JSON scripts used in the template.
The deployed virtual machine can be found in the resource group used for the deployment. Since inbound RDP is disallowed, Azure Bastion must be used to connect to the VM.
High availability and resiliency
Our solution template creates a single instance virtual machine using premium or standard operating system disk, which supports SLA for Virtual Machines.
We recommend you deploy multiple instances of virtual machines configured behind Azure Load Balancer and/or Azure Traffic Manager for higher availability and resiliency.
Business continuity and disaster recovery (BCDR)
As an organization you need to adopt a business continuity and disaster recovery (BCDR) strategy that keeps your data safe, and your apps and workloads online, when planned and unplanned outages occur.
Azure Site Recovery helps ensure business continuity by keeping business apps and workloads running during outages. Site Recovery replicates workloads running on physical and virtual machines from a primary site to a secondary location. When an outage occurs at your primary site, you fail over to secondary location, and access apps from there. After the primary location is running again, you can fail back to it.
Site Recovery can manage replication for:
- Azure VMs replicating between Azure regions.
- On-premises VMs, Azure Stack VMs, and physical servers.
To learn more about backup and restore options for virtual machines in Azure, continue to Overview of backup options for VMs.
Clean up resources
When no longer needed, you can delete the resource group, virtual machine, and all related resources.
Select the resource group for the virtual machine, then select Delete. Confirm the name of the resource group to finish deleting the resources.
Contact Azure support to get assistance with issues related to STIG solution templates. You can create and manage support requests in the Azure portal. For more information see, Create an Azure support request. Use the following support paths when creating a ticket:
Azure -> Virtual Machine running Linux -> Cannot create a VM -> Troubleshoot my ARM template error
This quickstart showed you how to deploy a STIG-compliant Linux virtual machine (Preview) on Azure or Azure Government. For more information about creating virtual machines in:
- Azure, see Quickstart: Create a Linux virtual machine in the Azure portal.
- Azure Government, see Tutorial: Create virtual machines.
To learn more about Azure services, continue to the Azure documentation.