Posts

Showing posts from 2022

Lab Exercise 8: Create and Carryout Read and Write Operation in AWS Dynamo DB​

Image
  Carryout Read and Write Operation in AWS Dynamo DB: Procedure: 1.    Select DynamoDB under AWS Services. 2.    Click 'Create Table' and give table name. Then finally create the table. It will take some time for the table to be available for use.      3.     Select the table and click the 'Explore Table Items' option. 4.    Click 'Create Item' and add attributes and values in the table. Also we can use both form and json format to add. 5.    Let's add some more rows in our table with different attributes. 6.   The Scan Function is to read the data from the Table. We can add filters to get specific row from the table.

Lab Exercise 7b: Setup a RDS MySQL Server in AWS

Image
   SETUP A RDS MYSQL SERVER IN AWS:     To do this experiment, first we should install MySQL Workbench to make the database connection. Procedure: 1.    Select RDS under AWS Services. 2.    Select 'Create Database'. Then give the options that we want such as Standard Database type, MySQL Engine, Free Tier template, Public Access, etc., 3.    It may take some time to launch our created database. 4.    Now we go to Security Groups option and add new rules to the Security group that we assigned to the Database with any protocol and from any source. 5. Now open MySQL Workbench and click the plus sign near MySQL Connections to create a new connection to our RDS. 6. Give a name to the connection. Enter the Host name of the DB we created now and use the master password 7.     Now that the database connection is established, we can perform the MySQL queries on our tables. 

Lab Exercise 7a: Installing MySQL in AWS

Image
  INSTALLING MYSQL in AWS:           To Install MySQL sever in AWS, first ensure you have created an EC2 Instance and  it is connected to the client. Procedure:   1.    Create an EC2 instance and connect it. (for details on how to do it refer my old blogs.) 2.    Then type the following commands to install MySQL               sudo su               cd ../..               sudo apt-get update               sudo apt-get install mysql-server 3.    Then to set a password for root user, use mysql session and run ALTER USER command: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'password'; 4.    Now execute the following command for secure installation:               sudo mysql_secure_insta...

Lab Exercise 6: Hosting a Static Webpage in Amazon S3

Image
  For hosting a static website in Amazon S3, you'll need the following: AWS Account Static Webpage with HTML file for both index and 404 Procedure: 1. Open your AWS account and select S3 under Services. 2. Select 'Create Bucket' and Give Bucket name. Also uncheck the boxes to make sure that the bucket is publicly accessible.  3. Finally select 'Create Bucket' to create our bucket. 4. Click our bucket and under objects tab, we have to upload our static webpage files. Select Upload and we can Add our files or folders. 5. The select the Property tab of the bucket. And Scroll down to Static Website Hosting feature and Enable it. 6. Then under Permissions tab. Edit the Bucket Policy by the following JSON statement: {     "Version": "2012-10-17",     "Statement": [         {             "Sid": "PublicReadGetObject",             "Effect": "Allow",           ...

Hosting a Web Application using AWS Elastic Beanstalk

Image
  Developing and hosting web applications in AWS using Elastic Beanstalk. Procedure: 1. Open Elastic Beanstalk in AWS services. 2. Select Create Application. Give application name and platform specifics.  3. Then Create Application. 4. Click on the url to see the sample python application provided by AWS deployed.

CLOUD COMPUTING MODEL LAB - 1

Image
  CLOUD COMPUTING MODEL LAB - 1   3. Create a Virtual Machine with any OS in Oracle Virtual Box. Aim:     To Create a Virtual Machine with any OS in Oracle Virtual Box Outputs: