Skip to content
This repository was archived by the owner on Mar 1, 2020. It is now read-only.

Commit d86bae2

Browse files
author
Mohammed AbuAisha
committed
Merge branch 'CY-853-update-existing-vpc-with-vpn-connection'
2 parents d44d0cf + aa423e7 commit d86bae2

File tree

5 files changed

+532
-5
lines changed

5 files changed

+532
-5
lines changed

.gitignore

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
cover
46+
.hypothesis/
47+
48+
# Translations
49+
*.mo
50+
*.pot
51+
52+
# Django stuff:
53+
*.log
54+
local_settings.py
55+
56+
# Flask stuff:
57+
instance/
58+
.webassets-cache
59+
60+
# Scrapy stuff:
61+
.scrapy
62+
63+
# Sphinx documentation
64+
docs/_build/
65+
66+
# PyBuilder
67+
target/
68+
69+
# IPython Notebook
70+
.ipynb_checkpoints
71+
72+
# pyenv
73+
.python-version
74+
75+
# celery beat schedule file
76+
celerybeat-schedule
77+
78+
# dotenv
79+
.env
80+
81+
# virtualenv
82+
venv/
83+
ENV/
84+
85+
# Spyder project settings
86+
.spyderproject
87+
88+
# Rope project settings
89+
.ropeproject
90+
91+
# Cloudify
92+
inputs.yaml
93+
local-storage/
94+
.cloudify/
95+
96+
# IDE settings
97+
.idea
98+
.DS_Store
99+
100+
plugin_docs
101+
workspace

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Amazon's [VPC Scenario 2](https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide
2020
## Compatibility
2121

2222
Tested with:
23-
* Cloudify 4.2
23+
* Cloudify 4.5
2424

2525

2626
## Pre-installation steps
@@ -45,7 +45,7 @@ If you do not provide your own `deployment inputs` below, you must add these sec
4545

4646
On your Cloudify Manager, navigate to `Local Blueprints` select `Upload`.
4747

48-
[Right-click and copy URL](https://github.com/cloudify-examples/vpc-scenario2-blueprint/archive/master.zip). Paste where it says `Enter blueprint url`. Provide a blueprint name, such as `examples-network` in the field labeled `blueprint name`. Select `simple-blueprint.yaml` from `Blueprint filename` menu.
48+
[Right-click and copy URL](https://github.com/cloudify-examples/aws-example-network/archive/master.zip). Paste where it says `Enter blueprint url`. Provide a blueprint name, such as `examples-network` in the field labeled `blueprint name`. Select `simple-blueprint.yaml` from `Blueprint filename` menu.
4949

5050
After the new blueprint has been created, click the `Deploy` button.
5151

@@ -54,10 +54,18 @@ Navigate to `Deployments`, find your new deployment, select `Install` from the `
5454

5555
## Update Deployment
5656

57+
### Stage 1
5758
In order to provide outbound internet access to the private subnet, you can update the deployment.
5859

59-
Navigate to `Deployments`, find your deployment, click on it. Once the deployment's page has loaded, click the `Update Deployment` button. [Right-click and copy URL](https://github.com/cloudify-examples/vpc-scenario2-blueprint/archive/master.zip). Paste where it says `Enter new blueprint url`. This time, select `update-blueprint.yaml` from `Blueprint filename` menu.
60+
Navigate to `Deployments`, find your deployment, click on it. Once the deployment's page has loaded, click the `Update Deployment` button. [Right-click and copy URL](https://github.com/cloudify-examples/aws-example-network/archive/master.zip). Paste where it says `Enter new blueprint url`. This time, select `update-blueprint.yaml` from `Blueprint filename` menu.
6061

62+
### Stage 2
63+
64+
This update deployment stage will add support to the following:
65+
- VPN Connection to old vpc `vpc_1` node
66+
- VPC Peering between two vpc `vpc_1` & `vpc_2`
67+
68+
Navigate to `Deployments`, find your deployment, click on it. Once the deployment's page has loaded, click the `Update Deployment` button. [Right-click and copy URL](https://github.com/cloudify-examples/aws-example-network/archive/master.zip). Paste where it says `Enter new blueprint url`. This time, select `vpc-peering-blueprint.yaml` from `Blueprint filename` menu.
6169

6270
## Uninstallation
6371

simple-blueprint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: >
44
Create an AWS VPC based on the Scenario 2 design.
55
66
imports:
7-
- http://www.getcloudify.org/spec/cloudify/4.3.2/types.yaml
7+
- http://www.getcloudify.org/spec/cloudify/4.5/types.yaml
88
- plugin:cloudify-awssdk-plugin
99

1010
inputs:

update-blueprint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: >
44
Create an AWS VPC based on the Scenario 2 design.
55
66
imports:
7-
- http://www.getcloudify.org/spec/cloudify/4.3.2/types.yaml
7+
- http://www.getcloudify.org/spec/cloudify/4.5/types.yaml
88
- plugin:cloudify-awssdk-plugin
99

1010
inputs:

0 commit comments

Comments
 (0)