Getting Started in Amazon AWS Cloud
A WebSQL Server can be launched in the AWS cloud as an EC2 instance using the AWS Management Console as described here.
- On step 4, select the AWS Marketplace category on the left and search for the WebSQL Server AMI.
- On step 7, click Edit security groups, and, on the Configure Security Group page, add additional rules to allow traffic to port 80 (HTTP) and 443 (HTTPS).
When done, click Review and Launch to return to the Review Instance Launch page.
To connect to the WebSQL Server, the initial administrator password is required and it will take a few minutes after the instance is launched before the password is available.
- In the Amazon EC2 console, select the instance, and then click Connect.
- In the Connect To Your Instance dialog box, click Get Password.
- Click Browse and navigate to the private key file you created when you launched the instance. Select the file and click Open to copy the entire contents of the file into contents box.
- Click Decrypt Password. The console displays the default administrator password for the instance in the Connect To Your Instance dialog box, replacing the link to Get Password shown previously with the actual password.
- In a browser, go to https://thePublicDNS/websqlgui.html page, where thePublicDNS can be obtained in the Amazon EC2 console (look for the Public DNS of the instance). Note: the server creates a new self-signed certificate and a browser may warn that the security certificate could not be authenticated.
Also note: Firefox browser is not supported right now. It will be fixed in the next release.
- On the websqlgui.html page, sign in using the Administrator account for the operating system and the password from step 4.
Next: Hello Web Service World
See Also:
Getting Started with C++
Table of Contents