Created
August 30, 2012 15:16
-
-
Save coderforhire/3530576 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
1. User Signs up and pays => Gets an alert to check their email in the next 5 to 10 minutes | |
2. VM is created | |
a. name is a randomly generated one | |
b. imageID is the "golden image id" | |
c. flavor is 1 for 256/10G or 2 for 512/20G | |
d. VM hostname and IP is saved to a table, and associated with the user_id | |
E. Setup DNS for this server RANDOMNAME.cloudpokerdb.com | |
3. Job to loop status of server build | |
4. When job changes from build to active, bootstrap the server and change root password. | |
a. The image will have postgres/openssl installed | |
5. When Server is setup, email user a confirmation link that states "Please make sure to click this link and get your hostname/username/password | |
6. When the link is clicked it activates a knife-ssh call, that sets up the postgres password on the host, based on the randonly generated one | |
7. Confirmation link displays the username, which will be postgres, the password, and the host with "MAKE SURE TO WRITE THIS DOWN" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment