AWS - RDS MySQL
[For classroom training visit http://awstrainingcenter.com]
1. Create a VPC, Internet Gateway
2. Create 1 Public subnet and 2 private subnets in different AZs
3. Go to RDS - Create DB Subnet group and add above 2 private subnets
4. Launch MySQL instance (db.t2.micro, Single AZ)
5. Go to RDS Security group and allow port 3306 access to VPC CIDR
6. Launch EC2 instance in Public Subnet with SSH (22) access for your IP
7. Login to EC2 over SSH and execute following commands (use your details)
$ sudo yum install mysql
$ mysql -h "your db instance endpoint" -P 3306 -u master -p
$ show databases;
$ use rds;
$ create table awstraining (name VARCHAR(30), batch INT(2), phone VARCHAR(10), email VARCHAR(30));
$ insert into awstraining values ('Chetan', 3, '9x2x5x3x6x', 'awstrainingcenter@gmail.com');
$ select * from awstraining;
Видео AWS - RDS MySQL канала AWS Training Center
1. Create a VPC, Internet Gateway
2. Create 1 Public subnet and 2 private subnets in different AZs
3. Go to RDS - Create DB Subnet group and add above 2 private subnets
4. Launch MySQL instance (db.t2.micro, Single AZ)
5. Go to RDS Security group and allow port 3306 access to VPC CIDR
6. Launch EC2 instance in Public Subnet with SSH (22) access for your IP
7. Login to EC2 over SSH and execute following commands (use your details)
$ sudo yum install mysql
$ mysql -h "your db instance endpoint" -P 3306 -u master -p
$ show databases;
$ use rds;
$ create table awstraining (name VARCHAR(30), batch INT(2), phone VARCHAR(10), email VARCHAR(30));
$ insert into awstraining values ('Chetan', 3, '9x2x5x3x6x', 'awstrainingcenter@gmail.com');
$ select * from awstraining;
Видео AWS - RDS MySQL канала AWS Training Center
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Demo | Three-tier web app in AWS with VPC, ALB, EC2 & RDSAWS Storage - EBS vs S3 vs EFSAWS VPC Basics - Understanding what is VPC and Calculating CIDR for VPC and SubnetsAWS RDS Read Replica across AWS RegionAWS RDS Multi AZ FailoverPrivate RDS Instance & AWS LambdaAWS Tutorial - Launch a RDS MySQL instance and connect to it using Linux EC2Introduction to AWS ServicesHow to Connect to a Private RDS Instance Using MySQL Workbench and an EC2 Instance as a Bastion HostAWS Bastion Host step-by-step demo | NAT Gateway | SSH Forwarding | Jump box | Private InstanceAWS VPC Public and Private SubnetsAWS Certificate Manager | Get Free SSL CertificateAWS CodeCommit, CodeDeploy, CodePipelineAWS Application Load Balancer with Autoscaling groupIntroduction to AWS NetworkingAWS - CloudWatch LogsAWS VPC | Create New VPC with Subnets, Route Tables, Security Groups, NACL | AWS Beginners TutorialAWS RDS Full Tutorial | Amazon Relational Database Service | Easy ExplanationAWS Hosting static website on S3 with custom domain Not published