Posts

SETUP A RDS MYSQL SERVER IN AWS

Image
SETUP A RDS MYSQL SERVER IN AWS EX — 7b Hello everyone, Today I am going to share my experience regarding setting up of RDS MySQL server in AWS. The pre-requisites required for the following are An AWS account MySQL workbench The steps performed by me are as follows Navigate to Amazon RDS service and create a database as follows keep all the settings in default as chosen by AWS but remember to change the access to public 2. And the second change that one has to consider is creation of new security group with the following rules 3. After the database status becomes healthy, open MySQL workbench and click on the plus symbol to create a new connection copy the host name from newly created database in RDS and use the master password for creation of database in connection settings Now perform all the required operation as you need from MySQL workbench

S3 replication

Image
  Create two s3 buckets Step-1 : In source bucket under management tab in s3 static website create replication rule Step-2 : configure settings as follows Step-3 Choose the destination path from the s3 bucket and enable bucket versioning

Create a VM and configure security groups with defined Inbound and Outbound rules like letting traffic through HTTP, ICMP, TCP, SSL(TLS).

Image
  Create a VM and configure security groups with defined Inbound and Outbound rules like letting traffic through HTTP, ICMP, TCP, SSL(TLS). Hello everyone, Today I am going to share my experience regarding configuration of security groups the pre-requisites required for the following are An AWS account Step-1: First create a ec-2 machine but before launching instance create a security group as follows and add the following rules as required step-2 : During creation of ec-2 instance choose the the rule we have created previously

Developing and hosting web applications in AWS using Elastic Bean Stalk

Image
Developing and hosting web applications in AWS using Elastic Bean Stalk-19BCS073 Assignment — 3 Hello everyone, Today I am going to share my experience regarding Developing and hosting web applications in AWS using Elastic Bean Stalk. The pre-requisites required for the following are simple NodeJS project git repository(feel free to clone my repo  link ) An AWS account So basically to achieve my goal that is deploying of web application I made use of these following services Code pipeline in AWS and Bean Stalk by AWS the code pipe line is basically used to provide proper infrastructure where as the bean stalk was used to deploy the application so lets get into the process then Clone my repo or create a simple NodeJS or any other framework project supported by bean stalk and store it in your git hub account simple web app 2. Now navigate to code pipeline service in AWS and create a pipeline and fill the details as follows 3. Skip build stage part to avoid too much complexities and f...

INSTALLING MYSQL SERVER IN EC-2

Image
  Hello everyone, Today I am going to share my experience regarding installation of MySQL server. The pre-requisites required for the following are An AWS account An EC-2 instance with ubuntu iso image file preferably Here are the steps that I followed to install MySQL server inside EC-2 Connect to your instance through SSH if you are using a Linux machine or through putty if you are using windows 2. After connecting to the instance use the following commands in order to install MySQL Server sudo su cd ../.. sudo apt-get update sudo apt-get install mysql-server After the following commands enter mysql server using the following command sudo mysql of course, sudo asks system root password. Once provided the right root password, we will be connected on MySQL as root MySQL user. use MySQL session to run ALTER USER: mysql > ALTER USER 'root' @ 'localhost' IDENTIFIED WITH mysql_native_password by 'my-secret-password' ; Now its time to run secure installation...

Create and Carryout Read and Write Operation in AWS Dynamo DB​

Image
  Hello everyone, Today I am going to share my experience regarding Carrying out Read and Write Operation in AWS Dynamo DB . The pre-requisites required for the following are An AWS account Navigate to AWS dynamo DB service and create a table as follows After creation open the table and start adding all the attributes you need I have added three attributes as follows I have also tried editing the items by adding a new attribute to one of the item as follows Coming to scan option I tried adding a filter product-id to filter out items as follows And the results were as follows

Hosting a static website on Amazon S3 ​

Image
  Hello everyone, Today I am going to share my experience regarding hosting of static website on Amazon s3. The pre-requisites required for the following are An AWS account Static webpage that is previously created by you Navigate to s3 services in AWS console and create a new bucket providing the website name and make sure that you provide public access to the bucket during creation 2. Open the created bucket and enable website hosting under static website hosting options 3. In the fields of index and error document provide landing page file name and 404 page file name 4. Now its time to upload static website files so inside the bucket choose upload option and upload all the files required for hosting 5. Now navigate to permissons tab and enter bucket policy tab and type the following command but do not forget to change the resource field with you bucket ARN { "Version" : "2012-10-17" , "Statement" : [ { "Sid" : "PublicReadGetObject"...