Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanskarjaas/terraformvm
Create a Virtual Network using IAC Terraform
https://github.com/sanskarjaas/terraformvm
Last synced: 10 days ago
JSON representation
Create a Virtual Network using IAC Terraform
- Host: GitHub
- URL: https://github.com/sanskarjaas/terraformvm
- Owner: Sanskarjaas
- Created: 2024-10-19T15:08:51.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-02T20:10:58.000Z (3 months ago)
- Last Synced: 2024-12-02T05:15:05.871Z (2 months ago)
- Language: HCL
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure Virtual Machine with Networking and Security Setup
This Terraform script provisions an Azure Virtual Machine (VM) with associated networking components such as Virtual Networks, Subnets, Public IP, and Network Security Groups.
## Resources Created
This script will create the following Azure resources:
1. **Resource Group**: A logical container to manage all related resources.
2. **Virtual Network (VNet)**: A network for internal communication.
3. **Subnet**: A network within the Virtual Network for the virtual machine.
4. **Public IP Address**: Allows the VM to be accessed from the internet.
5. **Network Interface**: Connects the VM to the Virtual Network.
6. **Network Security Group (NSG)**: Controls inbound/outbound traffic to the VM.
7. **Virtual Machine (VM)**: Ubuntu-based Linux virtual machine.## How to Use
### Prerequisites
- Ensure you have the following installed:
- [Terraform](https://www.terraform.io/downloads.html)
- [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
- You must also have an active Azure account.### Steps
1. **Clone the repository**:
```bash
git clone
cd
```