This repository has been archived by the owner on Jul 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CloudFormation setup guide and create expandable-image
- Loading branch information
Andrew Cai
committed
Jun 20, 2019
1 parent
33798d8
commit 448f19e
Showing
14 changed files
with
97 additions
and
5 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
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,43 @@ | ||
## Prerequisites | ||
|
||
Download the template file | ||
```sh | ||
$ wget https://raw.githubusercontent.com/yugabyte/aws-cloudformation/master/yugabyte_cloudformation.yaml | ||
``` | ||
|
||
## AWS Command Line | ||
|
||
Create CloudFormation template: | ||
|
||
```sh | ||
$ aws cloudformation create-stack --stack-name <stack-name> --template-body yugabyte_cloudformation.yaml --parameters DBVersion=1.2.8.0, KeyName=<ssh-key-name> | ||
``` | ||
Once resource creation completes, check that stack was created: | ||
|
||
```sh | ||
$ aws cloudformation describe-stacks --stack-name <stack-name> | ||
``` | ||
From this output, you will be able to get the VPC id and YugaByte DB admin URL. | ||
|
||
## AWS Console | ||
|
||
1. Navigate to your AWS console and open the CloudFormation dashboard. Click `Create Stack` | ||
<img title="Cloud Formation dashboard" class="expandable-image" src="/images/deploy/aws/aws-cf-initial-dashboard.png" /> | ||
<br> | ||
2. Prepare template using the downloaded template | ||
<img title="Prepare template" class="expandable-image" src="/images/deploy/aws/aws-cf-prepare-template.png" /> | ||
<br> | ||
3. Specify the template file downloaded in Prerequisites: `yugabyte_cloudformation.yaml` | ||
<img title="Upload template" class="expandable-image" src="/images/deploy/aws/aws-cf-upload-template.png" /> | ||
<br> | ||
4. Provide the required parameters. Each of these fields are prefilled with information from the configuration yaml file that was uploaded. `LatestAmiId` refers to the id of the machine image to use, see [more](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html). | ||
<img title="Provide Parameters" class="expandable-image" src="/images/deploy/aws/aws-cf-provide-parameters.png" /> | ||
<br> | ||
5. Configure Stack options. For more information about these options click [here](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-add-tags.html). | ||
<img title="Configure options" class="expandable-image" src="/images/deploy/aws/aws-cf-configure-options.png" /> | ||
<br> | ||
6. Finalize changes before creation | ||
<img title="Review stack" class="expandable-image" src="/images/deploy/aws/aws-cf-review-stack.png" /> | ||
<br> | ||
7. Check stack output in dashboard | ||
<img title="Check output" class="expandable-image" src="/images/deploy/aws/aws-cf-check-output.png" /> |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 |
---|---|---|
|
@@ -76,3 +76,8 @@ | |
} | ||
} | ||
} | ||
|
||
.article .expandable-image { | ||
display: block; | ||
width: 350px; | ||
} |
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