Login to Aws console check your location Next we need to create keypair.
Keypair----> create keypair ---> Name---> vprofile-bean-key---> file formate --->pem---> save
Security group for backend services
Create security group----> Name: vprofile-backend-SG ----> Description: backend vprofile ---> vpc: Choose dafult ---> inbound rules: Type: all traffic Protocol:TCp Port Range: 22 source:custom Security group id: vprofile backend sg --->Description: -----> save
RDS ---Relational Database
In Relational Database we need to create subnet group, parameter group, Database and monitoring.
check the left side of the page we will have all this.
Subnet Group
Subnet Group---> Create subnet group---> Name: Vprofile-rds-sub-group ----> Description: Vprofile-rds-sub-group----> vpc: Choose default vpc------> Available Zones-->Choose all the zones---> subnet: choose all the subnet.---> Click create
Create parameter group ---> group family: mysql5.6 --->Group name: vprofile-rds-para-grp---> Description: vprofile-rds-para-group--->Click create
Create database---> standard create--> Mysql-->version:mysql5.6---> Templates: Dev/test---> setting-->vprofile-rds-mysql---> master username:admin---> storage: Memory optimized class (db r5.large) type: General purpose ssd--> Availability & durability: create a standby instance ---> subnet group: choose what we create before ---> security group: choose back end sg --> database name: account--> Db parameter group: vprofile-rds-para-grp---> Option group: defaultmysql-5-6
Check enable enhanced monitoring--> Granularity: 60 sec--> Log exports: select all the logs-->Total cost 15 USD this is for monthly ---> Create Database
copy the user name and password we will use this later to execute our work.
In Elastic cached we need to create subnet group, parameter group, and Memcached
check the left side of the page we will have all this.
create parameter group---> Family: Memcached1.4 --->Name: vprofile-memcached-para-group--->description: vprofile-memcached-para-group ----> create this is our parameter group. we can choose which parameter we need for our recoverments
create sub-group ---> Name vprofile-memcached-sub-group description-vprofile-memcached-para-group select our VPC---> Availability zones--select all the zones and subnet ID----> Create
create memcached---> cluster enginer--- choose memcached---> memcached setting--name: vprofile-elastic cache-svc---> engine version compatibility: 1.4.5-->port 11211--> parameter group: vprofile-memcached-para-group --> Node type (please be careful with this choose t2.micro) cache.t2.micro(0.5GIB)---> Number of nodes---1
Advance memcached setting
subnet group: vprofile-memcached-sub-group--> availability zones--select--- no preference----> security group-- vprofile backend-SG
Maintenance window: no preference----Topic SNS : select out SNS topic --- create