-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
# Deploy QED Cluster and Prometheus+Grafana on AWS | ||
|
||
## Requirements: | ||
* Python, Pip | ||
* AWS Cli (pip install awscli) | ||
* Terraform (go get github.com/hashicorp/terraform) | ||
|
||
## Init | ||
|
||
``` | ||
$ export GO111MODULE=on | ||
$ terraform init -backend-config "$aws-profile=name" | ||
``` | ||
|
||
## Deploy | ||
``` | ||
$ terraform apply -auto-approve | ||
``` | ||
The AWS Public IP will generated as output at the end. | ||
|
||
## Destroy | ||
``` | ||
$ terraform destroy -auto-approve | ||
``` |