MyGSI
From GoGrid
| MyGSI | |
| |
| OS | Any |
| Added On | July 30th, 2009 |
MyGSI allows you to save a personal Server Image to instantiate new Server Instances
Overview
The MyGSI feature allows you to create, save, and store a "Server Image" in which to instantiate Database and Web/App Servers from. You can instantiate an Image Sandbox Server, install your software, websites, applications and whatever else you see fit, save the Image Sandbox Server to GoGrid's Cloud Storage as a Server Image and instantiate new Web/App or Database instances from your "golden" Server Image.
Resources
Add Image Sandbox
The first step in creating your Server Image is to create a new server type, the Image Sandbox server. To deploy an Image Sandbox server, simply do the following:
- Click on the "Add" button from the Grid menu
- Select the "Image Sandbox" server type.
- Search or browse for a base server image by Operating System, Server Image name, or application stack configured on the base server image and click "Next". Image Sandbox servers have a fixed amount of RAM and storage; 2GB RAM and 20GB storage.
- Name your new Image Sandbox server and add a description.
- Enter an IP Address from your list of available IP's at the left of your screen. The user interface will automatically suggest all unused IP addresses that are currently available to you.
- The "Image" field will automatically be populated with your selection form the last screen. If you wish to change this, select "cancel" and start again.
- Click on the "Save" button
- Your server will be deployed within 2-15 minutes.
- To obtain your server’s password, go to the “Support” tab and click on “Passwords” or right-click on the server in the UI and click on "Password". Changing the password here will not change your server password; this interface is only used for you to store passwords and to allow our Support teams access to your passwords to provide technical support, when needed.
Please note that you can update an existing MyGSI by following the same steps above and selecting your own image to deploy onto an Image Sandbox Server.
Configure/Prep Image Sandbox
All Image Sandbox servers can be saved to GoGrid Cloud Storage. In order to save an Image Sandbox server, you must have Cloud Storage deployed. To deploy and configure your servers to access Cloud Storage, read the Cloud Storage getting started guide.
Configure/Prep Image Sandbox
You can now log into your Image Sandbox server and prepare the server to be saved as a MyGSI:
- Install any files or software of your choice
- Perform any security or package updates
- Perform general configuration tasks according to your preferences
- Prepare your Image Sandbox Server instance to become a MyGSI
Preparing Your Image Sandbox Instance
Once your Image Sandbox server is configured to your liking, you will need to execute a script to prepare your Image Sandbox server to be saved as a "MyGSI".
Linux Servers
For Linux servers (Redhat and CentOS), simply run the following commands from the command prompt to execute the scripts and to prepare your Image Sandbox server to be converted into a MyGSI:
cd /root ./prep.py
This simple command will prepare your server and no further action is required.
If your preparation script gets deleted or is otherwise lost, run the following command from the Linux command prompt:
cd /root wget http://wiki.gogrid.com/wiki/gogrid_scripts/linux/prep.py
Windows Servers
For Windows servers, perform the following actions to execute the script and to prepare your Image Sandbox server to be converted into a MyGSI:
- Open a Remote Desktop session to your GoGrid Windows server
- Click on "Start", then "Run"
- Enter
prepin the "Open" field and click "OK" - The Prep program window will open and you will need to follow the instructions on screen.
Once the scripts have been executed, you are now ready to save your image.
Save Server Image
Now that your Image Sandbox server has been prepared for conversion into a Server Image, you will need to save a copy of the server to your Cloud Storage allotment. Please note that GoGrid's proprietary compression algorithm results in your server image being compressed to within 700MB to 5GB depending on the files stored on the server. This may vary and can result in larger image sizes than mentioned here.
Once your Image Sandbox server has been prepared for bundling, simply do the following to save your Image Sandbox server as a Server Image:
- Right-click on your Image Sandbox server (or click "Tools" from the grid menu) then select "Save Image"
- A dialog box will pop-up. Populate the Server Image "Friendly Name", "Description", "Image Name" and "Operating System" fields for your reference.
- Select "Save"
Your MyGSI will now be saved to your Cloud Storage allotment and can be deployed again and again as many times as you would like. This process may take 15-60 minutes to complete. Once complete, your Image Sandbox server will be deleted. Your MyGSI will appear in the "Server Images" tab in the GoGrid user interface. You can manage (delete, modify metadata or instantiate new servers) any Server Images you have stored by clicking on the "Server Images" tab from the "Grid" page.
Instantiating New Servers from a Saved Server Image
Now that you have saved your MyGSI, you can deploy new servers using that server image. To deploy a new server using your MyGSI, do the following:
- Click on the "Add" button from the Grid menu
- Select the "Web/App", "Database", or "Image Sandbox" server type.
- Search or browse for your new MyGSI Server Image by Operating System, architecture, owner, your MyGSI name or description and click "Next".
- Name your new server instance and add a description.
- Enter an IP Address from your list of available IP's at the left of your screen. The system will automatically display all unused IP addresses that are currently available to you.
- Select the amount of RAM you want associated with the new Server instance.
- The "OS" field will automatically be populated with your selection from the last screen.
- The "Image" field will automatically be populated with your selection from the last screen. If you wish to change this, select "Cancel".
- Click on the "Save" button
- Your server will be deployed within 2-15 minutes.
- To obtain your server’s password, go to the “Support” tab and click on “Passwords” or right-click on the server in the UI and click on "Password". Changing the password here will not change your server password; this interface is only used for you to store passwords and to allow our Support teams access to your passwords to provide technical support, when needed.
Managing Server Images
You can manage your MyGSIs from the "Server Images" tab on the "Grid" panel. From here, you will see the list view of all of your server images:
- Name - The friendly name of your MyGSI. This can be edited by simply clicking on the image in the list.
- OS - The Operating System your image was based on.
- State - The state of your image. This can be "saving" if a save is in progress, "available" if you can instantiate a server from this image, or "trash" if the image is currently in the trash.
- Type - The type of server image this is. Either Web/App Server or Database Server
- Updated - The last modified date of this server image.
- Size - The size in GB of the server image.
At the ends of each row, there are icons to manage your images:
-
- Selecting the row of your server image will pop up the edit dialog box. Here you can edit the friendly name and description of your image.
-
- Selecting this icon will add a new server from that server image. This icon is only available when an image is in an "available" state.
-
- Selecting this icon will move your server into the "trash" state. Images are stored in trash for 24 hours before being permanently deleted. An image can be restored from trash and can become "available" again within a 24-hour period. This icon is only available when an image is in an "available" state. You will be charged for images that are in a "trash" state, however you are only billed for your maximum utilization of your Cloud Storage allotment.
-
- Selecting this icon restores an image from the "trash" state back to "available". This icon is only available when an image is in a "trash" state.











