Checking Database Tier Access

Checking Database Tier Access

  1. Check and save the Database Endpoint.

AWS CloudFormation

  1. Connect to the Web tier EC2:
ssh -i <path_to_key_pair> ec2-user@<web_tier_ec2_private_ip>
  • Then access the Database:
mysql --host=<database_endpoint_address> --user=<admin_name> --password=<password>

AWS CloudFormation

  1. Go back to the SSH session into Bastion Host and run the command:
nping -p 3306 <database_endpoint_address>

AWS CloudFormation

  1. Check the database

AWS CloudFormation

  1. Check the networking of the database.

AWS CloudFormation

  1. Check the Mutil-AZ of the Database.

AWS CloudFormation