mirror of
https://github.com/Manoj-HV30/cloud-vps.git
synced 2026-07-13 00:50:10 +00:00
fixed structure
This commit is contained in:
@@ -31,8 +31,9 @@ cd cloud-vps
|
||||
|
||||
2. **Choose Your Cloud Provider:** This blueprint is natively written for **Microsoft Azure**, but the Ansible logic is completely cloud-agnostic. Ensure you have the Azure CLI installed and have run `az login` to authenticate.
|
||||
|
||||
3. **Configure the Blueprint:** Copy the example configuration files and modify `Pulumi.dev.yaml` with your preferred region, VM size, and local SSH key path:
|
||||
3. **Configure the Blueprint:** Navigate into the `azure/` directory, copy the example configuration files, and modify `Pulumi.dev.yaml` with your preferred region, VM size, and local SSH key path:
|
||||
```bash
|
||||
cd azure
|
||||
cp Pulumi.dev.example.yaml Pulumi.dev.yaml
|
||||
cp ansible/inventory.example.yml ansible/inventory.yml
|
||||
```
|
||||
@@ -70,12 +71,15 @@ You can deploy the cloud infrastructure using the automated script or run the st
|
||||
|
||||
**Option A: Automated Deployment**
|
||||
```bash
|
||||
cd azure
|
||||
chmod +x scripts/deploy.sh
|
||||
./scripts/deploy.sh
|
||||
```
|
||||
|
||||
**Option B: Manual Deployment**
|
||||
```bash
|
||||
cd azure
|
||||
|
||||
# 1. Provision cloud resources
|
||||
pulumi up --stack dev
|
||||
|
||||
|
||||
Reference in New Issue
Block a user