ReleaseEngineering/How To/Add New AWS Subnets: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Release Engineering How To|Add_New_AWS_Subnets}}
{{Release Engineering How To|Add_New_AWS_Subnets}}


== Subnets ==
Below you can find the steps to add new aws subnests
 
== Create the new Subnets ==
* Add subnets to https://github.com/mozilla/build-cloud-tools/blob/master/configs/subnets.yml
* Add subnets to https://github.com/mozilla/build-cloud-tools/blob/master/configs/subnets.yml
** run `scripts/aws_manage_subnets.py configs/subnets.yml`
** run `scripts/aws_manage_subnets.py configs/subnets.yml` from aws-manager server
 
Please check in AWS the new VPC subnets
 
More details {{bug|1165432}} or {{bug|1239263}} and notes here https://github.com/mozilla/build-cloud-tools/pull/72
 
== Update the Firewall rules ==
* Open bugs with netops to include new flows {{bug|1254144}}
* Add the subnets to https://github.com/mozilla/build-cloud-tools/blob/master/configs/securitygroups.yml
* Add the subnets to https://github.com/mozilla/build-cloud-tools/blob/master/configs/securitygroups.yml


From {{bug|1165432}} and notes here https://github.com/mozilla/build-cloud-tools/pull/72
'''NOTE:''' After the firewall rules has been added by netops team and the new subnets in securitygroups.yml, the changes will be applied overnight


== Firewall ==
* Open bugs with netops to include new flows
* Update firewall tests to include new subnets (private repo releng/firewall-tests) and ensure tests pass after netops has made the changes ( more details https://mana.mozilla.org/wiki/display/IT/How+to+Run+Flow+Tests )
* Update firewall tests to include new subnets (private repo releng/firewall-tests) and ensure tests pass after netops has made the changes ( more details https://mana.mozilla.org/wiki/display/IT/How+to+Run+Flow+Tests )


== Add the new platforms in build-clout-tolls==


* Update https://github.com/mozilla/build-cloud-tools/blob/master/configs/tst-linux64 and others to include subnets created in previous step
=== tst-linux64 ===
* Add the new subnets for tst-linux64: https://github.com/mozilla/build-cloud-tools/blob/master/configs/tst-linux64

Revision as of 16:00, 9 March 2016


Below you can find the steps to add new aws subnests

Create the new Subnets

Please check in AWS the new VPC subnets

More details bug 1165432 or bug 1239263 and notes here https://github.com/mozilla/build-cloud-tools/pull/72

Update the Firewall rules

NOTE: After the firewall rules has been added by netops team and the new subnets in securitygroups.yml, the changes will be applied overnight

Add the new platforms in build-clout-tolls

tst-linux64