How to Launch an Amazon DynamoDB tables in AWS Account

With rise in number of database it has become a big challenge to make the right selection. As data grows our database should also scale and perform equally well.

Now Organizations have started to move toward big data and working with real time applications we certainly need a non relational and a good performance database. For these types of challenges and work AWS has always been on the top and served various services which solves our problems and one such service is AWS DynamoDB which manages non-relational databases for you and can store unlimited data and perform very well. .

Table of content

  1. What is Relational database management system ?
  2. What is SQL and NO SQL database?
  3. What is Amazon DynamoDB ?
  4. Prerequisites
  5. How to Create tables in DynamoDB in AWS Account
  6. Conclusion

What is Relational database management system ?

  • Relational database is based on tables and structured data
  • They have relationships which are logically connected.
  • Oracle Database, MySQL, Microsoft SQL Server, and IBM DB2. PostgreSQL , SQLite (for mobiles) are few example of RDMS.

Figure shows Relational Database Management System based on relational model

What is SQL and NO SQL database?

SQL:

  • The full form of SQL is structured query language which is used to manage data in relational database management system i.e RDMS.
  • SQL database belongs to the relational database management system.
  • The SQL type database follow structure pattern that’s why they are suitable for static or predefined schemas.
  • They are good in solving complex queries and highly scalable in nature but in vertical direction.
  • SQL database follows table based methodology and that’s the reason they are good for applications such as accounting systems.

NoSQL:

  • The full form of NoSQL is non-sql or non-relational.
  • This database is used for dynamic storage or those kind of managements where data is not fixed or static
  • This database is not tabular in nature rather its a key pair values.
  • They are good for big data and real time web application and scalable in nature but in horizontal direction
  • Some of the NoSQL databases which are DynamoDB, Foundation DB, Infinity DB, MemcacheDB, , Oracle NoSQL Database, , Redis MongoDB, Cassandra, Scylla, HBase.

What is Amazon DynamoDB ?

DynamoDB is a NoSQL database service that means it is different from the relational database which consists of tables in tabular form. DynamoDB service has very fast performance and is very scalable. DynamoDB service is one of the AWS managed service where you don’t need to worry about capacity , workload , setup , configuration , software patches , replications or even cluster scaling.

With DynamoDB service you just need to create tables where you can add data or retrieve data otherwise DynamoDB takes care of everything else. If you wish to monitor your resources you can do it on AWS console.

Whenever there is a traffic or high request coming in DynamoDB scales up while maintaining the performance.

Basic components of Amazon DynamoDB

  • Tables: It stores data.
    • In below example we used a database table
  • Items: Items are present in table. You can store as many item you wish in a table.
    • In below example different Employee ID are items.
  • Attributes: Each items contains one or more attributes.
    • In below example office , designation and phone are attributes of EmployeeID.

{
"EmployeeID": "1"
"office": "USA"
"Designation": "Devops engineer"
"Phone": "1234567890"
}


{
"EmployeeID": "2"
"office": "UK"
"Designation": "Senior Devops Engineer"
"Phone": "0123456789"
}

To work with Amazon DynamoDB , applications will need API’s to communicate.

  • Control Plane: It allows you to create and manage DynamoDB tables.
  • Data lane: It allows you to perform actions on the data in DynamoDB tables.

Prerequisites

  • You should have AWS account with Full access permissions on DynamoDB . If you don’t have AWS account, please create a account from here AWS account.

How to Create tables in DynamoDB in AWS Account

  • Go to AWS account and search for DynamoDB on the top of the page.
  • Click on Create Table and then you need to Enter the name of the Table and primary Key
  • Now click on Organisation that is table name
  • Now click on Items
  • Add the list of items such address , designation and phone number.
  • Verify if table has required details.

So this was the first way to use AWS provided web service and directly start creating DynamoDB tables . The other way is to download it manually on your machine , setup and then create you’re tables . You can find the steps here

Conclusion

You should now have a basic knowledge about relational database management system and non relational. We also learned about Amazon DynamoDB which is NO SQL database . We also covered on how to create tables on Amazon DynamoDB service & store the data .

This tutorial consists of all the practical’s which were done on our lab server with lots of hard work and efforts. Please share the word if you like it and hoping you get benefit out of this tutorial.

Characteristics of cloud computing

If you are looking to dive into the cloud world, knowing the Characteristics of cloud computing is important and worth it.

Cloud computing offers modern businesses advantages, including allowing multiple users to view data in real-time and share projects effortlessly.

In this article, you will learn the Characteristics of cloud computing and why you need cloud computing?

Let’s begin quickly.

Join 46 other followers

Table of Content

  1. Introduction to Cloud Computing
  2. Cloud computing characteristics
  3. Types of cloud computing
  4. Virtualization in cloud computing(Services in the cloud)
  5. Conclusion

Introduction to Cloud Computing

Earlier, People would run applications from software downloaded on physical servers or servers in buildings. Still, now with Cloud Computing, they all use the same services online from anywhere globally.

CLOUD is a model of computing where servers, networks, storage, and even apps are enabled through the internet. Organizations no longer require huge investments in buying the equipment, training staff, and providing ongoing maintenance, which is now all handled by Cloud providers. Some examples of cloud providers are Amazon Web Service, Microsoft Azure, Oracle, IBM cloud, etc.

DATACENTER OR SERVER IN BUILDINGS
Datacenter/serves in the buildings

Cloud computing characteristics

1. Cloud computing is flexible: If you need more services and more Servers, you can easily scale up your cloud capacity, or you may Scale down again in no time.

2. Disaster Recovery – Cloud is helping organizations to move toward that trend. With different automation tools, you can redeploy and rebuild your services ASAP. Also, backup and format of recovery in the Cloud are great.

3. Never Miss an Update: As the service, itself is not managed by the organization, the cloud provider takes care of your Infra and server management, so it’s an ideal solution than the reality.

4. Cloud services minimize cloud expenditure: Cloud Computing cuts hardware costs. You simply pay you as go and enjoy the services.

5. Workstations in the cloud: You can work from anywhere in the world and anytime and access the resources.

6. Cloud computing offers security: Lost Laptops are a Billion-dollar business problem, but the loss of an expensive piece of data is exceptionally a big problem. Here your data resides in Cloud with security and tolerance, which is the greatest advantage in my Option.

7. Mobility: Cloud computing allows mobile access to corporate data via smartphones and devices, a great way to ensure that no one is left out of the loop.

Cloud computing adoption is on the rise every year, and it doesn’t take long to see why enterprises recognize cloud computing benefits.

CLOUD COMPUTING
Cloud computing

Types of cloud computing

There are primarily three kinds of cloud computing, i.e., Public cloud, Private Cloud, and Hybrid cloud. Let’s dive in deep and learn about cloud computing with an appropriate example.

1- Public cloud: A public cloud environment is owned by an outsourced cloud provider and is accessible to many businesses through the internet on a pay-per-use model. The cloud provider owns and manages all hardware, software, and other supporting infrastructure with a public cloud.

Example: Microsoft Azure, AWS, Google Cloud

2- Private cloud: Private cloud is owned by a single business. Government institutions, financial institutions like banks, mid to large-sized companies, and any other organization dealing with sensitive information tend to prefer private clouds.

This cloud model is great for organizations concerned about sharing resources on a public cloud. It is implemented on servers owned and maintained by the organization and accessed over the internet or through a private internal network.

Example: Rackspace

3- Hybrid Cloud: Hybrid cloud is used for businesses that seek the benefits of both private and public cloud deployment models.

Virtualization in cloud computing(Services in the cloud)

In the previous section, you learned about various types of cloud computing; however, it is equally important to know different virtualization in cloud computing when you work with any type of cloud computing.

Virtualization in cloud computing or service in the cloud provides you details about what will be owned by customers and clients. So, let’s check out the three services.

SAAS (Software as a Service): With SaaS, an organization accesses a specific software application hosted on a remote server and managed by a third-party provider

PAAS (Platform as a Service): With PaaS, an organization accesses pre-defined environment software development that can be used to build, test, and run applications. This means that developers don’t need to start from scratch when creating apps.

IAAS (Infrastructure as a Service): With IaaS, an organization migrates its hardware—renting servers and data storage in the cloud rather than purchasing and maintaining its own infrastructure. IaaS provides an organization with the same technologies and capabilities as a traditional data center, including full control over server instances.

System administrators within the business are responsible for managing databases, applications, runtime, security, etc., while the cloud provider manages the servers, hard drives, networking, storage, etc.

Virtualization in cloud computing (Services in the cloud)
Virtualization in cloud computing (Services in the cloud)

Join 46 other followers

Conclusion

In this short and great article, you learned what cloud computing, the Characteristics of cloud computing, the types of cloud computing, and Virtualization in cloud computing(Services in the cloud) are.

Also, you learned great features and benefits of using cloud computing, so which one are you planning to use in your organization next ( AWS or Azure or GCP), etc.?