LTspice IV Getting Started GuideLTspice IV Getting Started ...
Getting started with MySQL on Amazon Web Services
-
Upload
ronald-bradford -
Category
Technology
-
view
10.751 -
download
2
description
Transcript of Getting started with MySQL on Amazon Web Services
![Page 1: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/1.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Using Amazon Web Services
A Beginners Guide for MySQL Users
Ronald Bradford
Principal - 42SQL
MySQL Camp 2009
Santa Clara - April 2009Version .1.0 19.Apr.2009
![Page 2: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/2.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Overview
![Page 3: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/3.jpg)
http://ronaldbradford.com
Using Amazon Web Services
This presentation assumes you have never used Amazon Web Services (AWS) in any way.
We will step through a tutorial to create an AWS account, login, start a server, and access the running server on the Internet.
Time: 20 minutes Cost: $1.50 Investment
![Page 4: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/4.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Terminology
![Page 5: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/5.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Terminology
❖AWS - Amazon Web Services❖ EC2 - Elastic Compute Cloud
❖ S3 - Simple Storage Service
![Page 6: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/6.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Signup for AWS
(6 steps)
![Page 7: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/7.jpg)
Using Amazon Web Services
http://ronaldbradford.com
1. Find AWS
![Page 8: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/8.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 9: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/9.jpg)
Using Amazon Web Services
http://ronaldbradford.com
2. Signup
![Page 10: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/10.jpg)
Using Amazon Web Services
http://ronaldbradford.com
3. New User
![Page 11: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/11.jpg)
Using Amazon Web Services
http://ronaldbradford.com
4. Enter Initial Details
![Page 12: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/12.jpg)
Using Amazon Web Services
http://ronaldbradford.com
5. Enter Full Details
![Page 13: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/13.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 14: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/14.jpg)
Using Amazon Web Services
http://ronaldbradford.com
6. Check Email
![Page 15: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/15.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Access Identifiers
(7 steps)
![Page 16: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/16.jpg)
Using Amazon Web Services
http://ronaldbradford.com
1. Access Key ID
![Page 17: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/17.jpg)
Using Amazon Web Services
http://ronaldbradford.com
2. Secret Access Key
![Page 18: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/18.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 19: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/19.jpg)
Using Amazon Web Services
http://ronaldbradford.com
3. Account Number
![Page 20: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/20.jpg)
Using Amazon Web Services
http://ronaldbradford.com
4. Create X.509 Certificate
![Page 21: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/21.jpg)
Using Amazon Web Services
http://ronaldbradford.com
5. Confirm Key Creation
![Page 22: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/22.jpg)
Using Amazon Web Services
http://ronaldbradford.com
6. Private Key File
![Page 23: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/23.jpg)
Using Amazon Web Services
http://ronaldbradford.com
7. X.509 Certificate File
![Page 24: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/24.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Checklist
❖Access Key ID❖ Secret Access Key
❖Account Number❖X.509 Private Key File❖X.509 Certificate File
![Page 25: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/25.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Register for EC2/S3
(7 steps)
![Page 26: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/26.jpg)
Using Amazon Web Services
http://ronaldbradford.com
1. Start AWS Console
![Page 27: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/27.jpg)
Using Amazon Web Services
http://ronaldbradford.com
2. Signup for EC2
![Page 28: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/28.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 29: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/29.jpg)
Using Amazon Web Services
http://ronaldbradford.com
3. Enter CC Details
![Page 30: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/30.jpg)
Using Amazon Web Services
http://ronaldbradford.com
4. Confirm CC Address
![Page 31: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/31.jpg)
Using Amazon Web Services
http://ronaldbradford.com
5. Complete Signup
![Page 32: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/32.jpg)
Using Amazon Web Services
http://ronaldbradford.com
6. Confirm EC2 Email
![Page 33: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/33.jpg)
Using Amazon Web Services
http://ronaldbradford.com
7. Confirm S3 Email
![Page 34: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/34.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Launching a server
(8 steps)
![Page 35: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/35.jpg)
Using Amazon Web Services
http://ronaldbradford.com
1. Select AWS Console
![Page 36: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/36.jpg)
Using Amazon Web Services
http://ronaldbradford.com
2. Launch New Instance
![Page 37: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/37.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 38: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/38.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 39: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/39.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 40: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/40.jpg)
Using Amazon Web Services
http://ronaldbradford.com
3. Select Instance Type
![Page 41: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/41.jpg)
Using Amazon Web Services
http://ronaldbradford.com
4. Generate Key Pair
![Page 42: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/42.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 43: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/43.jpg)
Using Amazon Web Services
http://ronaldbradford.com
5. Configure Firewall
![Page 44: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/44.jpg)
Using Amazon Web Services
http://ronaldbradford.com
6. Configure Instance settings
![Page 45: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/45.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 46: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/46.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 47: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/47.jpg)
Using Amazon Web Services
http://ronaldbradford.com
7. Confirm Instance Running
![Page 48: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/48.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 49: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/49.jpg)
Using Amazon Web Services
http://ronaldbradford.com
8. Verify Instance Operational
![Page 50: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/50.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Accessing your server
(2 steps)
![Page 51: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/51.jpg)
http://ronaldbradford.com
Using Amazon Web Services
$ ssh -i 42sqlexample.pem [email protected]
$ cd /home/webuser/helloworld/htdocs
$ echo "<html><head>
<title>Your Own Web Server</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head><body>
<h1>Your own Web Server running on AWS</h1>
<p>A demonstration for MySQL Camp 2009, Santa Clara, April 2009</p>
<p>Thanks to <a href="http://ronaldbradford.com">Ronald Bradford</a> - MySQL Expert</p>
</body></html>" > index.php
1. Modify home page content
![Page 52: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/52.jpg)
Using Amazon Web Services
http://ronaldbradford.com
2. View modified home page
![Page 53: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/53.jpg)
http://ronaldbradford.com
Using Amazon Web Services
For Windows Users
❖Download Puttyhttp://www.chiark.greenend.org.uk/~sgtatham/putty/
❖Refer to Putty Instructionshttp://docs.amazonwebservices.com/AWSEC2/2007-08-29/GettingStartedGuide/putty.html
![Page 54: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/54.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Shutting down
(3 steps)
![Page 55: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/55.jpg)
Using Amazon Web Services
http://ronaldbradford.com
1. Select Instance to terminate
![Page 56: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/56.jpg)
Using Amazon Web Services
http://ronaldbradford.com
2. Confirm Termination Request
![Page 57: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/57.jpg)
Using Amazon Web Services
http://ronaldbradford.com
![Page 58: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/58.jpg)
Using Amazon Web Services
http://ronaldbradford.com
3. Verify Instance Terminated
![Page 59: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/59.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Wrap up
![Page 60: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/60.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Where to from here
❖ Elastic IP❖ Elastic Block Store
❖Custom AMIs
![Page 61: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/61.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Useful tools
❖ Elastic Fox❖ S3 Fox
❖AWS CLI tools
http://sourceforge.net/projects/elasticfox/http://www.s3fox.net/http://docs.amazonwebservices.com/AWSEC2/2007-08-29/GettingStartedGuide/
![Page 62: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/62.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Don't forget
❖ System Monitoring❖ External Host Monitoring
❖Backups❖Test your recovery process
![Page 63: Getting started with MySQL on Amazon Web Services](https://reader033.fdocuments.in/reader033/viewer/2022051611/54b7a2a64a795993718b4754/html5/thumbnails/63.jpg)
http://ronaldbradford.com
Using Amazon Web Services
Professional Help is Available
❖Two decades IT expertise❖ 10 years in MySQL❖ System/Data Architecture❖ Database Performance and Tuning❖ High Availability and Scalability❖ Education and Training
http://ronaldbradford.com