Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fusic/azure_webserver_bicep
Template for building infrastructure for a web server.
https://github.com/fusic/azure_webserver_bicep
Last synced: 7 days ago
JSON representation
Template for building infrastructure for a web server.
- Host: GitHub
- URL: https://github.com/fusic/azure_webserver_bicep
- Owner: fusic
- Created: 2021-04-27T04:27:35.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-27T04:27:57.000Z (over 3 years ago)
- Last Synced: 2024-11-09T12:37:48.869Z (2 months ago)
- Language: Bicep
- Size: 9.77 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure Bicep Template - Web Server Sample
Template for building infrastructure for a web server.
## Login Azure and create resource group
```bash
$ az login
$ az group create --name your_resource_group --location 'Japan East'
$ az configure --defaults group=your_resource_group
```## Deploy by Bicep
```bash
$ cd bicep
$ az deployment group create --template-file main.bicep --parameters main.parameters.json
```## Compile and Decompile
```
# Compile
$ az bicep build --file bicep/main.bicep# Decompile
$ az bicep decompile --file arm/main.json
```