Database on aws cloud using virtual machine

Assignment Help Other Subject
Reference no: EM133888924 , Length: word count:2500

Tutorial - Database on AWS Cloud using Virtual Machine

Installation and deployment of virtual machine
Implementation of RDS database on AWS Cloud
Implementation of RDS database on AWS Cloud
Let's create our first RDS instance
Login to the AWS Console > Service > Database > RDS > Create Database
Choose a database creation method > Choose MySQL from
the ‘Engine Option'
Choose the MySQL version 8.0.35
Choose the ‘Free Tier' from the ‘Template'
In the ‘Setting' section, put your database name: tutorialDbInstance, ‘Master user' name and ‘Master password' as you prefer. Finally, ‘Confirm password'. Hire Online Assignment help service for completing assignment!
DB instance size section, select db.t4g.micro Note: Activate ‘Include previous generation classes'
Storage section - Leave it as it is
Availability & durability: Leave it as it is
Connectivity: Select Default VPC
Additional connectivity configuration:

Database authentication: Select Password authentication
Additional configuration:
Database option > Initial database name:
tutorialDbInstance
Backup: Enable automatic backups > Select 0 day
Monitoring: Leave it
Maintenance: Optional


Deletion protection: Optional
Create database
Click create ElastiCache cluster
Let's create an EC2 instance

if prompted.

Create a new security group WebDMZ
Console > Service > EC2
Select Amazon Linux 2 AMI (HVM), SSD Volume Type
Select: t2.micro
Leave everything intact except:
Advanced Details: Paste the bootstrap script in the User data textbox, which is available in your course materials directory under the Week 7 & 8 folder.
Next > Add storage: Leave it as it is
Next > Add Tags: Key: Name, and Value:
WordpressServer
Create a new Key Pair, Name it as tutorial- keypair, download it, and save it in a suitable place in your machine.
Next > Select WebDMZ from the existing security groups
Press: Launch Instance
Click View Instance to look at the EC2 instance that you have created.
NOTE: Please delete older EC2 instance if any before starting.

Select ‘Security Group' from the left pan. We need to configure security group so that our webserver WebDMZ can talk to the database rds-launch-wizard using its MySQL port security group.
Select rds-launch-wizard, Press ‘Inbound' tab
Click Edit > Add Rule > Select MYSQL/Aurora
Source: Type your WebDMZ Security Group ID, and then Save.
Make sure your EC2 instance and RDS instance, both are live and online now.
Go to your RDS instance and check all the parameters like Connectivity, Monitoring, Logs & events, Configuration, Maintenance & backup, Tags. Finally, have a look at the ‘Endpoint & port', which we need to connect with the WordPress.
Go to the EC2 instance and grab the Public IP Address
Browse it in your browser.
That's it. Now we got the WordPress Welcome page.
Click Let's go! Tab.
Put your Database Name, Username, Password, Database Host.
Put your RDS endpoint URL here as Database Host
Click Submit button.
Hit the button Run the installation
You will get the Information needed page, where you need to put all the required information with a suitable Site Title.

Troubleshooting: If you can see that wp-config.php file is not there, which you need to create with the following contents. Copy the contents.
Go back to EC2 instance, connect your instance using SSH
NOTE: 2 ways, either way you can use to connect your EC2 instance.
Use the following command to have the Super User privileges:
sudo su
cd /var/www/html nano wp-config.php
Paste the contents on the nano editor and Save the file.
Check the database connectivity:
Install MySQL with the following command:
yum install mysql
At the root directory put the following command: mysql -h [rds_endpoint_address] -P 3306 -u [username] -p NOTE: Database username & password should be given here.
Enter the password and then, ENTER
Now, you are within your mysql database
On your ‘MySQL' command prompt, put the following command to get all the databases:
MySQL>show databases;
MySQL>Use [Your_Database_Name] to get the database that you created in your WordPress site.
Next, put the following command to view the tables of the database:
MySQL>show tables;
To view the list of users for this database, put the following command: MySQL>select *from wp_users;

Reference no: EM133888924

Questions Cloud

Current issues in the hospitality industry : A comprehensive breakdown of a significant challenge to the tourism and hospitality sector or economy - a critical discussion of the innovative and creative
What reasons are commonly cite for that increase involvement : Most studies conclude that gang involvement in drug sales grew dramatically in the 1980's. what two reasons are commonly cited for that increased involvement?
How does this apply to information you might look for : How does this apply to information you might look for when considering different careers? How does it apply to ways work environment can affect you personally?
What impact have the cultures had on their performance : Can you provide examples of companies with distinctive corporate cultures and what impact have these cultures had on their performance and reputation?
Database on aws cloud using virtual machine : Database on AWS Cloud using Virtual Machine and Installation and deployment of virtual machine - In the ‘Setting' section, put your database name
Which do you agree or disagree with most with and why : This chapter provides multiple theories of motivation for prejudice. Which do you agree or disagree with most with and why?
What is problem statement for equal opportunity program : What's problem statement for Equal Opportunity program? How do I explain how that theory or concept would frame Equal Opportunity Research?
Describe a time when you had to build a relationship : Describe a time when you had to build a relationship with a gay young person in children residential home. What did you do to establish the relationship?
Critically examine and implement the cryptographic concept : LDS7006M Blockchain, York St John University - Develop abstract thinking and design ability to analytically demonstrate concepts relating to data science

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd