rackeric / DevOps-Challenges-Cycle1

Support DevOps Challenges Cycle 1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DevOps-Challenges-Cycle1

Your name:

Support DevOps Challenges Cycle 1

Challenge 1: Write a script that builds a 512MB Cloud Server and returns the root password and IP address for the server. This must be done in PHP with php-opencloud

Challenge 2: Write a script that builds anywhere from 1 to 3 512MB cloud servers (the number is based on user input). Inject an SSH public key into the server for login. Return the IP addresses for the server. The servers should take their name from user input, and add a numerical identifier to the name. For example, if the user inputs "bob", the servers should be named bob1, bob2, etc... This must be done in PHP with php-opencloud.

Challenge 3: Write a script that prints a list of all of the DNS domains on an account. Let the user select a domain from the list and add an "A" record to that domain by entering an IP Address TTL, and requested "A" record text. This must be done in PHP with php-opencloud.

Challenge 4: Write a script that creates a Cloud Files Container. If the container already exists, exit and let the user know. The script should also upload a directory from the local filesystem to the new container, and enable CDN for the new container. The script must return the CDN URL. This must be done in PHP with php-opencloud.

About

Support DevOps Challenges Cycle 1