How to Set Up Amazon RDS (Relational Database Service)

Last updated on Dec 10 2021
Padmanabham Suresh

Table of Contents

How to Set Up Amazon RDS (Relational Database Service)

Amazon RDS (Relational Database Service) is a fully-managed SQL database cloud service that allows to create and operate relational databases. Using RDS you can access your files and database anywhere in a cost-effective and highly scalable way.

Features of Amazon RDS

Amazon RDS has the following features −

  • Scalable − Amazon RDS allows to scale the relational database by using AWS Management Console or RDS-specific API. We can increase or decrease your RDS requirements within minutes.
  • Host replacement − Sometimes these situations occur when the hardware of Amazon RDS fails. There is no need to worry, it will be automatically replaced by Amazon.
  • Inexpensive − Using Amazon RDS, we pay only for the resources we consume. There is no up-front and long-term commitment.
  • Secure − Amazon RDS provides complete control over the network to access their database and their associated services.
  • Automatic backups − Amazon RDS backs up everything in the database including transaction logs up to last five minutes and also manages automatic backup timings.
  • Software patching − Automatically gets all the latest patches for the database software. We can also specify when the software should be patched using DB Engine Version Management.

Step 1 − Login to AWS management console. Use the following link to open Amazon RDS console − https://console.aws.amazon.com/rds/

Step 2 − Select the region where the DB instance is to be created, at the top right corner of the Amazon RDS console.

Step 3 − Select Instances in the navigation pane, then click Launch DB Instance button.

Step 4 − The Launch DB Instance Wizard opens. Select the type of instance as required to launch and click the Select button.

1 9

Step 5 − On the Specify DB Details page, provide the required details and click the Continue button.

2 8

Step 6 − On the Additional configuration page, provide the additional information required to launch the MySQL DB instance and click the Continue button.

3 6

Step 7 − On Management options page, make the choices and click the Continue button.

4 6

Step 8 − On the Review page, verify the details and click the Launch DB Instance button.

5 6

Now DB instance shows in the list of DB instances.

How to Connect Database to MySQL DB Instance?

Following are the steps to connect a database on MySQL DB instance −

Step 1 − Type the following command in the command prompt on a client computer to connect a database on MySQL DB instance (using the MySQL monitor).

Step 2 − Replace <myDBI> with DNS name of your DB instance, <myusername> with your master user-name & <mypassword> with your master password.

PROMPT> mysql -h <myDBI> -P 3306 -u <myusername> -p

After running the above command, the output looks like −

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 350
Server version: 5.2.33-log MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>

How to Delete a DB Instance?

After completing the task, we should delete the DB instance so will not be charged for it. Follow these steps to delete a DB instance −

Step 1 − Sign in to the AWS Management Console and use the following link to open the Amazon RDS console.

https://console.aws.amazon.com/rds/

Step 2 − In the DB Instances list, select the DB instances to be deleted.

Step 3 − Click the Instance Actions button and then select the Delete option from the dropdown menu.

Step 4 − Select No in the Create Final Snapshot.

Step 5 − Click the Yes, Delete to delete the DB instance.

Cost of Amazon RDS

When using Amazon RDS, pay only for only the usage without any minimum and setup charges. Billing is based on the following criteria −

  • Instance class − Pricing is based on the class of the DB instance consumed.
  • Running time − Price is calculated by the instance-hour, which is equivalent to a single instance running per hour.
  • Storage − Bill is calculated as per the storage capacity plan chosen in terms of per GB.
  • I/O requests per month − Billing structure also includes total number of storage I/O requests made in a billing cycle.
  • Backup storage − There is no additional charges for backup storage up to 100% of database. This service is free only for active DB instances.

For latest updated price structure and other details, visit the following link − https://aws.amazon.com/rds/pricing

So, this brings us to the end of blog. This Tecklearn ‘How to Set Up Amazon RDS (Relational Database Service)’ helps you with commonly asked questions if you are looking out for a job in AWS and Cloud Computing. If you wish to learn AWS and build a career in Cloud Computing domain, then check out our interactive, AWS Solutions Architect Training, that comes with 24*7 support to guide you throughout your learning period. Please find the link for course details:

https://www.tecklearn.com/course/aws-solutions-architect-certification-training/

AWS Solutions Architect Certification Training

About the Course

Tecklearn’s AWS Architect Certification Training is curated by industry professionals as per the industry requirements and demands. The entire AWS training course is in line with the AWS Certified Solutions Architect exam. You will learn various aspects of AWS like Elastic Cloud Compute, Simple Storage Service, Virtual Private Cloud, Aurora database service, Load Balancing, Auto Scaling and more by working on hands-on projects and case studies. You will master AWS architectural principles and services such as IAM, VPC, EC2, EBS and elevate your career to the cloud, and beyond with this AWS solutions architect course.

Why Should you take AWS Architect Certification Training?

  • The Average salary of an AWS Certified Solutions Architect is $129k per annum – Indeed.com
  • AWS market is expected to reach $236 Billion by 2020 at a CAGR of 22% – Forrester
  • Netflix, Twitter, LinkedIn, Facebook, BBC, Baidu, ESPN & other MNCs worldwide use Amazon AWS Cloud

What you will Learn in this Course?

Overview of Cloud Computing and AWS

  • What is Cloud Computing
  • Definition of Cloud Computing
  • On Premises Vs Service Models
  • Advantages and Disadvantages of Cloud Computing
  • Cloud Computing Providers
  • Why AWS
  • What is AWS
  • AWS Benefits
  • AWS Services
  • Traditional Vs AWS Components
  • AWS Global Infrastructure
  • AWS Availability Zone
  • AWS Edge Locations
  • How to Access the AWS Services
  • AWS architecture
  • AWS Management Console
  • AWS offerings Listing (EC2, VPC, AMI, EBS, ELB, Backup)

Amazon Elastic Compute Cloud (EC2)

  • Overview of EC2
  • Elastic IP Vs Public IP
  • Launching of AWS EC2 instance demo
  • How to access EC2
  • EC2 Purchasing Options
  • Amazon Machine Images (AMI)
  • EC2 Storage for the Root Device
  • EC2 Creating AMI
  • EC2 Instance Types
  • Auto Scaling
  • Cost of EC2
  • Best Practices of EC2
  • EC2 Resizing
  • Placement Groups
  • Amazon Backup and various Concepts
  • EC2 Demo
  • Hands On

Networking and Monitoring Services: Amazon Virtual Public Cloud

  • Virtual Private Cloud (VPC) and its benefits
  • Default and Non-Default VPC
  • IP Address
  • CIDR – Classless Inter-domain Routing
  • Subnet: Subnet Mask and Subnet Mask Classes
  • Private and Public Subnet
  • IPv4 v/s IPv6 – As in AWS Infrastructure
  • Internet Gateway and Route Tables
  • Security Group with VPC
  • Access Control List, NACL and Security Group
  • NAT Devices: NAT Gateway and NAT Instance
  • Flow Logs
  • VPC Peering and its working
  • VPN and Direct Connect
  • VPC Limitations
  • Need for Monitoring Services
  • AWS CloudWatch and it’s working
  • AWS Command Line Interface
  • Use Cases
  • Hands On

Amazon Storage Services: Elastic Block Storage

  • What is Storage Services
  • What is Elastic Block Storage (EBS)
  • Persistent Storage
  • EBC Features
  • EBS Benefits
  • EBS Types
  • EBS Pricing
  • EBS Life Cycle
  • EBS Snapshot
  • EBS General Purposed SSD
  • EBS Provisioned IOPS SSD
  • EBS Throughput Optimized HDD
  • EBS Cold HDD
  • EBS Comparison
  • EBS Previous Generation Volumes
  • EBS How Incremental Snapshots Work
  • EBS Deleting an Amazon EBS Snapshot
  • EBS Summary
  • Hands On

Amazon Storage Services: Simple Storage Services (S3)

  • What is Amazon AWS S3
  • Simple Storage Services (S3) Advantages
  • S3 Buckets, Objects, Keys and Endpoints
  • S3 Data Consistency Model
  • S3 Transfer Acceleration
  • S3 Storage Types
  • S3 Versioning
  • S3 Life Cycle Management
  • S3 Data Protection
  • S3 Cross-Region Replication
  • S3 Hosting a Static Website
  • Hands On

Amazon Storage Services

  • Amazon Glacier Storage
  • Amazon Storage Gateway
  • Amazon Snowball (Data Import /Export)
  • Billing with Amazon CloudWatch
  • Hands On

AWS Database Services: Relational Database Service (RDS)

  • Overview of Databases and Relational Database Service (RDS)
  • What is Amazon RDS
  • AWS RDS Components
  • AWS RDS: Interface
  • AWS RDS: Charges
  • AWS RDS Multi-AZ: Benefits
  • AWS RDS Multi-AZ: Failover Process
  • NoSQL Database: Amazon DynamoDB
  • Overview of DynamoDB
  • DynamoDB Benefits
  • Hands On

AWS Database Services Continued

  • Data Warehouse: Amazon Redshift
  • Overview of Amazon Redshift
  • Redshift Architecture
  • Amazon Redshift features
  • In Memory Cache: Amazon ElasticCache
  • Redis Vs MemCache
  • Amazon ElasticCache Cluster
  • Database Migration: AWS Database Migration Service

Load Balancing in AWS

  • What is Fault Tolerant System
  • Features of Elastic Load Balancing
  • What is AWS ELB (Elastic Load Balancer)
  • Types of Load Balancer: Classic, Application and Network
  • Classic Load Balancer: Features, Health Check Configuration, Cross-Zone, Connection Draining, Sticky Sessions, Access Logs, Limitation
  • Application Load Balancer: Features, Application Flow, Limitation
  • Network Load Balancer
  • Access Elastic Load Balancing: AWS Management Console, AWS CLI, AWS SDKs, HTTPS Query API

Amazon Route 53

  • What is Amazon Route 53
  • Domain Name Registration
  • Routing Internet Traffic to Resources
  • Automated check of the health of Resources + Data Pipeline

AWS Identity and Access Management (IAM) – Control user access

  • Authentication (Who can use) and Authorization (Level of Access)
  • IAM Policies – JSON Structure
  • Users, Groups and their Roles
  • AWS IAM Features
  • User Sign-in to Account
  • Switch Role
  • Role to EC2 Instance
  • Password Policy
  • How to Access AWS
  • Multi-Factor Authentication (MFA)
  • Permissions and Permission Types
  • Policies Structure
  • User Based Policies
  • Resource Based Policies
  • Resource Based Permission
  • Policies Types
  • Request Flow
  • Limitations
  • IAM HTTPS API
  • Logging IAM Events with AWS CloudTail
  • Hands On

Amazon CloudWatch

  • What is Amazon CloudWatch
  • Features and Benefits
  • CloudWatch Architecture
  • Hands On

AWS Auto Scaling

  • What is AWS Auto Scaling
  • Auto Scaling Components
  • Auto Scaling Group
  • Auto Scaling Launch Configuration
  • Auto Scaling Benefits
  • Auto Scaling Lifecycle
  • Auto Scaling Plans
  • Manual Scaling
  • Schedule Scaling
  • Dynamic Scaling
  • Auto Scaling Step Adjustment
  • Auto Scaling Termination Policy
  • Default Termination Policy
  • Health Check
  • Hands On

Amazon Application Services

  • Elastic BeanStalk
  • Simple Email Services (SES)
  • Simple Queue Service (SQS)
  • Simple Notification Services (SNS)
  • AWS Lambda
  • Introduction to Elastic OpWorks
  • Hands On

About AWS Solution Architect Associate Exam

Got a question for us? Please mention it in the comments section and we will get back to you.

 

0 responses on "How to Set Up Amazon RDS (Relational Database Service)"

Leave a Message

Your email address will not be published. Required fields are marked *