ntier – azure
-
overview
- Lets create a vm in Azure, for manual steps refer class room video and Refer Here for steps
- For creating a vm in Azure we need
- network: vnet
- subnet
- public ip address
- network security group
- network interface
Realizing in terraform
-
To Create a vm in azure, we need vnet, subnet, nsg, publicip, network interface
-
We already have template written and we have created
- vnet with subnets
- nsg
- Now lets get started with rest
- public ip Refer Here
- network interface Refer Here and Refer Here for network interface and security group association
- Refer Here for the changes done to create public ip and network interface
-
apply the template and view the resources
- For creating a linux vm Refer Here for resource
- Refer Here for the changes done to create a linux vm in azure
- Next Steps:
- Provisioning
- State management
- Multi user
- Multi environment
Exercise
- Create a vm in web subnet in azure
- Create an ec2 instance in web1 subnet in aws