<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shivani Aggarwal</title>
    <description>The latest articles on DEV Community by Shivani Aggarwal (@sa3664).</description>
    <link>https://dev.to/sa3664</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F637234%2F977ce97e-ad05-4947-bbff-10afb7767fbe.jpeg</url>
      <title>DEV Community: Shivani Aggarwal</title>
      <link>https://dev.to/sa3664</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sa3664"/>
    <language>en</language>
    <item>
      <title>Deploy Ethereum network on AWS</title>
      <dc:creator>Shivani Aggarwal</dc:creator>
      <pubDate>Mon, 23 Aug 2021 15:02:43 +0000</pubDate>
      <link>https://dev.to/aws-builders/deploy-ethereum-network-on-aws-19jo</link>
      <guid>https://dev.to/aws-builders/deploy-ethereum-network-on-aws-19jo</guid>
      <description>&lt;p&gt;In my  previous post Blockchain on AWS (&lt;a href="https://dev.to/aws-builders/blockchain-on-aws-i6o"&gt;https://dev.to/aws-builders/blockchain-on-aws-i6o&lt;/a&gt; ) we discussed various services provided by AWS to work with blockchain technology. In this article we will explore how to use AWS Blockchain Templates to configure and create blockchain based networks.&lt;/p&gt;

&lt;h2&gt;
  
  
  AWS Blockchain Templates
&lt;/h2&gt;

&lt;p&gt;Using popular open source frameworks, AWS Blockchain Templates makes it quick and easy to develop and deploy secure Blockchain networks. Instead of wasting time and resources manually setting up your Blockchain network, you can focus on building your Blockchain apps with these templates.&lt;br&gt;
The Blockchain framework you pick is deployed as containers on an Amazon Elastic Container Service (ECS) cluster or directly on an EC2 host running Docker. You may leverage your VPC subnets and network Access Control Lists to build your blockchain network on your own Amazon VPC.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvpqpjx288z3tpj7jreek.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvpqpjx288z3tpj7jreek.PNG" alt="AWS Blockchain Template"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;AWS offers two different templates: &lt;strong&gt;Blockchain for Ethereum&lt;/strong&gt; and &lt;strong&gt;Blockchain for Hyperledger Fabric&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We will use AWS Blockchain Template for Ethereum to create a private Ethereum network on AWS through AWS CloudFormation. The network that we will create has two Ethereum clients and one miner running on Amazon EC2 instances in an Amazon ECS cluster. Amazon ECS runs these services in Docker containers pulled from Amazon ECR. &lt;br&gt;
Before proceeding, as a prerequisite set up an IAM user and create a key pair . For help refer , &lt;a href="https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-templates-setting-up.html" rel="noopener noreferrer"&gt;https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-templates-setting-up.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After prerequisites are met , the next steps would be as below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a VPC and subnets&lt;/li&gt;
&lt;li&gt;Create security groups&lt;/li&gt;
&lt;li&gt;Create an IAM Role for Amazon ECS and an EC2 Instance Profile&lt;/li&gt;
&lt;li&gt;Create bastion host&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now we will walkthrough each step in detail below:&lt;/p&gt;

&lt;h4&gt;
  
  
  Creating a VPC and subnets
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;First we will create Elastic IP address to be used for VPC creation

&lt;ul&gt;
&lt;li&gt;Open the Amazon VPC console at &lt;a href="https://console.aws.amazon.com/vpc/" rel="noopener noreferrer"&gt;https://console.aws.amazon.com/vpc/&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Choose Elastic IPs, Allocate new address, Allocate&lt;/li&gt;
&lt;li&gt;Make a note of the Elastic IP address that you create and choose Close.&lt;/li&gt;
&lt;li&gt;In the list of Elastic IP addresses, find the Allocation ID for the Elastic IP address created earlier. We use this when we create the VPC.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Select the same Region for VPC in which you created your key pair in and where you are launching the Ethereum stack&lt;/li&gt;

&lt;li&gt;To create a VPC , on the VPC dashboard choose Launch VPC Wizard
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7uq40l9l5p5rwihcds8i.PNG" alt="Alt Text"&gt;
&lt;/li&gt;

&lt;li&gt;On Select a VPC Configuration page, choose VPC with Public and Private Subnets. Click on Select
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpv1xegdxkv52popnkwey.PNG" alt="Alt Text"&gt;
&lt;/li&gt;

&lt;li&gt;Enter VPC name, name for public and private subnet , select elastic allocation ID created earlier . Click on Create VPC
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwtg6aw8wau22n5qjvzps.PNG" alt="Alt Text"&gt;
&lt;/li&gt;

&lt;li&gt;To create second subnet, Choose &lt;strong&gt;Subnets&lt;/strong&gt; and then select the public subnet that you created earlier from the list. Select the &lt;strong&gt;Route Table&lt;/strong&gt; tab and note the Route table ID. We specify this same route table for the second public subnet we will create.&lt;/li&gt;

&lt;li&gt;Choose Create Subnet, choose a different availability zone , enter a name and click on create subnet
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh3jnzg91ali0q0aacq6p.PNG" alt="Alt Text"&gt;
&lt;/li&gt;

&lt;li&gt;With the subnet selected from the list, choose Subnet Actions, Modify auto-assign IP settings. Select Auto-assign IPs, Save, Close. This allows the bastion host to obtain a public IP address when you create it in this subnet.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbi7q120a8l09jndnevuz.PNG" alt="Alt Text"&gt;
&lt;/li&gt;

&lt;li&gt;On the &lt;strong&gt;Route Table&lt;/strong&gt; tab, choose &lt;strong&gt;Edit&lt;/strong&gt;. For &lt;strong&gt;Change to&lt;/strong&gt;, select the route table ID that you noted earlier and choose &lt;strong&gt;Save&lt;/strong&gt;.&lt;/li&gt;

&lt;/ul&gt;

&lt;h4&gt;
  
  
  Creating Security groups
&lt;/h4&gt;

&lt;p&gt;We need to create two security groups one for EC2 instance and for Load balancer&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open the EC2 Console , choose &lt;strong&gt;Security Groups, Create Security Group&lt;/strong&gt; and enter a name for security group to be created for EC2 instance and select the VPC we created earlier
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdqnedrpm9mwxp58iv9xy.PNG" alt="Alt Text"&gt;
&lt;/li&gt;
&lt;li&gt;Repeat same step and create one more security group for load balancer&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add inbound rules to the security group for EC2 instances&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the EC2 instance security group&lt;/li&gt;
&lt;li&gt;On the Inbound tab, choose Edit and For Type, choose All traffic. For Source, leave Custom selected, and then choose the security group you are currently editing from the list&lt;/li&gt;
&lt;li&gt;Add one more rule and For Type, choose All traffic. For Source, leave Custom selected, and then choose the security group we created for load balancer&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Add inbound and edit outbound rules for the security group for the Application Load Balancer&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the Application Load balancer security group&lt;/li&gt;
&lt;li&gt;On the Inbound tab, choose Edit and For Type, choose All traffic. For Source, leave Custom selected, and then choose the security group you are currently editing from the list&lt;/li&gt;
&lt;li&gt;Add one more rule and For Type, choose All traffic. For Source, leave Custom selected, and then choose the security group we created for EC2 instance&lt;/li&gt;
&lt;li&gt;Add one more rule and For Type, choose SSH. For Source, select My IP, which detects your computer's IP CIDR and enters it.&lt;/li&gt;
&lt;li&gt;On the Outbound tab, choose Edit and delete the rule that was automatically created to allow outbound traffic to all IP addresses.&lt;/li&gt;
&lt;li&gt;Add one more rule and For Type, choose All traffic. For Source, leave Custom selected, and then choose the security group you are currently editing from the list.&lt;/li&gt;
&lt;li&gt;Add one more rule and For Type, choose All traffic. For Source, leave Custom selected, and then choose the security group we created for EC2 instance&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;By this time , you are already half done :) &lt;/p&gt;

&lt;h4&gt;
  
  
  Creating an IAM Role for Amazon ECS and an EC2 Instance Profile
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Open the IAM console at &lt;a href="https://console.aws.amazon.com/iam/" rel="noopener noreferrer"&gt;https://console.aws.amazon.com/iam/&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Choose Roles and Select Elastic Container Service as service ,  enter a Name and choose Create role. &lt;/li&gt;
&lt;li&gt;Select the role that you just created from the list. If your account has many roles, you can search for the role name&lt;/li&gt;
&lt;li&gt;Copy the Role ARN value and save it so that you can copy it again. You need this ARN when you create the Ethereum network
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgx49os7w0l3lxd8jlg6s.PNG" alt="Alt Text"&gt;
&lt;/li&gt;
&lt;li&gt;To create an EC2 instance profile

&lt;ul&gt;
&lt;li&gt;Choose Policies in the navigation pane, Create policy. Enter policy name and, choose create policy&lt;/li&gt;
&lt;li&gt;Choose Roles ,Choose EC2 , In the Search field, enter the name of the permissions policy that you created earlier&lt;/li&gt;
&lt;li&gt;Select the check mark for the policy that you created earlier, and choose Next: Review
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4g05k9qk6saam0y7pwzl.PNG" alt="Alt Text"&gt;
&lt;/li&gt;
&lt;li&gt;For Role name, enter a value that helps you identify the role&lt;/li&gt;
&lt;li&gt;Select the role that you just created from the list and Copy the Instance Profile ARN value and save it.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h4&gt;
  
  
  Creating a Bastion Host
&lt;/h4&gt;

&lt;p&gt;To be able to access the Ethereum network, trusted clients need to be set up to connect through the bastion host. For more information, see Connect to EthStats and EthExplorer Using the Bastion Host. A bastion host is one approach. You can use any approach that provides access from trusted clients to private resources within a VPC.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create an EC2 linux instance ( for help refer &lt;a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html#ec2-launch-instance" rel="noopener noreferrer"&gt;https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html#ec2-launch-instance&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Choose Edit Instance Details. For Network, choose the VPC you created earlier, for Subnet select the second public subnet that you created earlier. Leave all other settings to their defaults.&lt;/li&gt;
&lt;li&gt;Confirm the change when prompted, and then choose Review and Launch.&lt;/li&gt;
&lt;li&gt;Choose Edit Security Groups. For Assign a security group, choose Select an existing security group.&lt;/li&gt;
&lt;li&gt;From the list of security groups, select the security group for the Application Load Balancer that you created earlier, and then choose Review and Launch.&lt;/li&gt;
&lt;li&gt;Choose Launch.&lt;/li&gt;
&lt;li&gt;Note the instance ID. You need it later when you &lt;a href="https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-bastion-host-connect.html" rel="noopener noreferrer"&gt;Connect to EthStats and EthExplorer&lt;/a&gt; using the Bastion Host&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And the final stage is here ,&lt;/p&gt;

&lt;h4&gt;
  
  
  Creating the Ethereum Network
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;See Getting Started with AWS Blockchain Templates, and open the latest AWS Blockchain Template for Ethereum in the AWS CloudFormation console using the quick-links for your AWS Region.&lt;/li&gt;
&lt;li&gt;Choose create stack and enter a name for stack.
Under EC2 configuration, select options according to the following guidelines:

&lt;ul&gt;
&lt;li&gt;For EC2 Key Pair, select a key pair. &lt;/li&gt;
&lt;li&gt;For EC2 Security Group, select the security group you created earlier in Create Security Groups.&lt;/li&gt;
&lt;li&gt;For EC2 Instance Profile ARN, enter the ARN of the instance profile that you created earlier in Create an IAM Role for Amazon ECS and an EC2 Instance Profile.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Under VPC network configuration, select options according to the following guidelines:

&lt;ul&gt;
&lt;li&gt;For VPC ID, select the VPC that you created earlier in Create a VPC and Subnets.&lt;/li&gt;
&lt;li&gt;For Ethereum Network Subnet IDs, select the single private subnet that you created earlier in the procedure To create the VPC.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Under ECS cluster configuration, leave the defaults. This creates an ECS cluster of three EC2 instances.&lt;/li&gt;

&lt;li&gt;Under Application Load Balancer configuration (ECS only), select options according to the following guidelines:

&lt;ul&gt;
&lt;li&gt;For Application Load Balancer Subnet IDs, select two public subnets from the &lt;a href="https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-template-getting-started-prerequisites.html#list-of-subnets" rel="noopener noreferrer"&gt;list of subnets&lt;/a&gt; that you noted earlier&lt;/li&gt;
&lt;li&gt;For Application Load Balancer Security Group, select the security group for the Application Load Balancer that you created earlier in &lt;a href="https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-template-getting-started-prerequisites.html#blockchain-templates-create-security-group" rel="noopener noreferrer"&gt;Create Security Groups&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;For IAM Role, enter the ARN of the ECS role that you created earlier in &lt;a href="https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-template-getting-started-prerequisites.html#blockchain-templates-iam-roles" rel="noopener noreferrer"&gt;Create an IAM Role for Amazon ECS and an EC2 Instance Profile&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Under EthStats, select options according to the following guidelines:

&lt;ul&gt;
&lt;li&gt;For Deploy EthStats, leave the default setting, which is true.&lt;/li&gt;
&lt;li&gt;For EthStats Connection Secret, type an arbitrary value that is at least six characters.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Under EthExplorer, leave the default setting for Deploy EthExplorer, which is true.&lt;/li&gt;

&lt;li&gt;Under Other parameters, leave the default value for Nested Template S3 URL Prefix and make a note of it. This is where you can find nested templates.&lt;/li&gt;

&lt;li&gt;Choose Create Stack&lt;/li&gt;

&lt;li&gt;When all stacks show CREATE_COMPLETE for Status, you can connect to Ethereum user interfaces to verify that the network is running and accessible. When you use the ECS container platform, URLs for connecting to EthStats, EthExplorer, and EthJsonRPC through the Application Load Balancer are available on the Outputs tab of the root stack.&lt;/li&gt;

&lt;li&gt;The Output tab of the root stack provides links to services running on the Application Load Balancer. These URLs are not directly accessible for security reasons. To connect, you can set up and use a bastion host to proxy connections to them
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Floodrz5e2p1ug6y7hy1a.PNG" alt="Alt Text"&gt;
After completing this tutorial, don't forget to clean up your AWS resources. You can use AWS cloudformation to delete all resources. For more details follow on &lt;a href="https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-templates-cleanup.html" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;a href="https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-templates-cleanup.html" rel="noopener noreferrer"&gt;https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-templates-cleanup.html&lt;/a&gt;
&lt;/li&gt;

&lt;/ul&gt;

</description>
      <category>aws</category>
      <category>blockchain</category>
      <category>beginners</category>
      <category>digitaltechnologies</category>
    </item>
    <item>
      <title>BLOCKCHAIN ON AWS</title>
      <dc:creator>Shivani Aggarwal</dc:creator>
      <pubDate>Wed, 14 Jul 2021 23:18:44 +0000</pubDate>
      <link>https://dev.to/aws-builders/blockchain-on-aws-i6o</link>
      <guid>https://dev.to/aws-builders/blockchain-on-aws-i6o</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Do you know about Blockchain? How to build solutions using Blockchain ? Anything about AWS Blockchain ?&lt;/em&gt;&lt;/strong&gt; - Well no worries , the following discussion would dive into the basic details of Blockchain ,Blockchain benefits, the way Blockchain works, and finally the Blockchain services on AWS.&lt;/p&gt;

&lt;p&gt;The intersection between cloud computing and blockchain is leading to various changes in the approaches for conducting business. &lt;/p&gt;

&lt;p&gt;Hence, the introduction of blockchain on AWS is extremely promising.  Indeed , it is inevitable to notice a growing interest in an AWS Blockchain in recent times.&lt;/p&gt;

&lt;p&gt;But first, back to basics!! Before going deep dive in Blockchain on AWS let’s do a run through on Blockchain technology.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Blockchain?
&lt;/h2&gt;

&lt;p&gt;If you are thinking of cryptocurrency when you hear the term ‘Blockchain’ , then you are yet to discover the breadth of Blockchain Technology. It is a computer file for storing data. Or, to put it in more technical terms, it’s an open, distributed database. Instead of having a central database/entity verify the data, a network of individual computers verify and sync the stored data .&lt;/p&gt;

&lt;p&gt;It is a new technology which governs that no one person or entity (say, a government or corporation) has control over the blockchain; this is a radical departure from the centralized databases that are controlled and administered by businesses and other entities. &lt;/p&gt;

&lt;p&gt;If this sounds familiar, it’s because Bitcoin operates in the same way. &lt;/p&gt;

&lt;p&gt;In fact, &lt;a href="https://bitcoin.org/en/" rel="noopener noreferrer"&gt;Bitcoin&lt;/a&gt; is the first example of blockchain in action.&lt;/p&gt;

&lt;h2&gt;
  
  
  Oh wait , but what is so great about Blockchain?
&lt;/h2&gt;

&lt;p&gt;Let’s look at some of the biggest advantages of using blockchain technology:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It’s decentralized&lt;/strong&gt;, Because it doesn’t rely on a central computer, it’s resistant to a lot of damage. If one computer fails, the system stays up. More importantly, the data is very hard to corrupt. To compromise data in a centralized system, someone just needs to change what’s in the central database. However, because there’s no central database on a blockchain network, a single computer would have to override the entire network, which is much harder to do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You get a history of activity&lt;/strong&gt;, not just a snapshot in time. When you look at a regular database, you’re getting a snapshot of data that’s up to date in that moment in time. Blockchains do this too, but they also maintain a record of all the information that existed before. It’s a database with history, if you like.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There’s no one, central point of attack&lt;/strong&gt;, The fact that blockchain is a decentralized way of storing and accessing data makes the whole system incredibly secure – because, unlike a centralized database, there’s no one single point of entry for hackers. This makes it particularly useful for recording transactions in a secure manner.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;And no centralized control&lt;/strong&gt;, Because the system of record is decentralized and replicated in its entirety in multiple places, there’s no need for a central administrator and all the costs and infrastructure that comes with it.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does Blockchain work?
&lt;/h2&gt;

&lt;p&gt;In very simple terms, the file is comprised of blocks of data, with each block being connected to the previous block, forming a chain. Each block also contains a record of when that block was created or edited, which makes it very useful for maintaining a detailed system of record that cannot be corrupted or lost. Because the whole blockchain is duplicated across many computers, any user can view the entire blockchain. Transactions or records are processed not by one central administrator, but by a network of users who work to verify the data and achieve a consensus. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1vitod219oxd3cdswh0c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1vitod219oxd3cdswh0c.png" alt="How does Blockchain work"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For building a blockchain based solution businesses need to deploy their choice of blockchain frameworks on servers, create networks and manage them all the way to scale the solution. Managing networks and multiple entities can soon become a huge task and  a cumbersome process, that is where the blockchain on cloud based solutions from AWS fits in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Wooo.. Its time to go on CLOUD..&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What does Blockchain on AWS include?
&lt;/h2&gt;

&lt;p&gt;Blockchain on AWS refers to a small yet powerful assortment of offerings that support the enterprise blockchain initiatives of organizations. The Amazon Quantum Ledger Database, Amazon Managed Blockchain, AWS Blockchain Partners, and AWS Blockchain Templates are the prominent entries when it comes to discussions about blockchain on AWS. So, let us take a review of how enterprise blockchain on AWS looks like!&lt;/p&gt;

&lt;p&gt;The AWS Blockchain ecosystem is tailored for addressing diverse business issues in the deployment of blockchain projects through cloud platforms. Let us take a closer reflection on each individual service in Blockchain on AWS to have further understanding regarding the applications of &lt;a href="https://aws.amazon.com/blockchain/" rel="noopener noreferrer"&gt;AWS Blockchain&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  AWS Blockchain Templates
&lt;/h4&gt;

&lt;p&gt;AWS offers &lt;a href="https://aws.amazon.com/blockchain/templates/" rel="noopener noreferrer"&gt;open-source&lt;/a&gt; templates for apps built on blockchain. They deploy the network on an ECS cluster or an EC2 instance running Dockers. In other words, the template links the app and the network.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0t1jq90lrxggxbmlw1n3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0t1jq90lrxggxbmlw1n3.png" alt="Blockchain Templates"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then, developers can create their own blockchain network in their personalized Amazon VPC. Developers could configure the network Access Control Lists and VPC subnets easily for defining the characteristics and functionalities of their decentralized network. Furthermore, developers can also assign granular permissions for their blockchain network in AWS Blockchain Template through AWS IAM. The granular permissions will help in establishing restrictions on the resources that are accessible by Amazon EC2 instance or an Amazon ECS cluster. &lt;/p&gt;

&lt;p&gt;Finally, developers could deploy decentralized applications by writing smart contracts and running them on their newly created blockchain network. &lt;/p&gt;

&lt;p&gt;AWS offers two different templates:  &lt;strong&gt;Blockchain for Ethereum&lt;/strong&gt; and &lt;strong&gt;Blockchain for Hyperledger Fabric&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Blockchain for Ethereum&lt;/strong&gt; uses the incredibly popular and powerful Ethereum Network to power public blockchain applications. This template is by far the most popular method for building blockchain apps on AWS&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Blockchain for Hyperledger Fabric&lt;/strong&gt; lets you add permissions and access controls to the network. Use it for private blockchain networks.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For most blockchain applications, Ethereum is perfect. However, there are a couple more options that may be useful in certain settings. You lose some decentralization but gain other capabilities.&lt;/p&gt;

&lt;h4&gt;
  
  
  Quantum Ledger Database
&lt;/h4&gt;

&lt;p&gt;Amazon’s &lt;a href="https://aws.amazon.com/qldb/" rel="noopener noreferrer"&gt;Quantum Ledger Database (QLDB)&lt;/a&gt; is a managed ledger database that chains together changes in an append-only journal.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa8vy7uwbchzjlx0ul3zl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa8vy7uwbchzjlx0ul3zl.png" alt="Quantum Ledger Database"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is a fully managed ledger database that provides a transparent, immutable, and cryptographically verifiable transaction log owned by a central trusted authority. Amazon QLDB tracks each and every application data change and maintains a complete and verifiable history of changes over time.&lt;/p&gt;

&lt;p&gt;In comparison to ethereum,  it’s managed by AWS, meaning it isn’t fully decentralized. This doesn’t mean all the benefits are lost. Data in the ledger remains unchangeable and secure, and the database is completely managed to save time and money. For ledger applications, it’s a great fit.&lt;/p&gt;

&lt;h4&gt;
  
  
  Amazon Managed Blockchain
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://aws.amazon.com/managed-blockchain/" rel="noopener noreferrer"&gt;Amazon Managed Blockchain&lt;/a&gt; is a fully-managed tool for maintaining a public or private blockchain network on Hyperledger Fabric or Ethereum. Developers can manage networks with single API calls.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6dhhpuhbn5curw3d0x1n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6dhhpuhbn5curw3d0x1n.png" alt="Amazon Managed Blockchain"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Again, it is managed by AWS, so some level of decentralization is lost in the process. However, architectural decentralization remains: data is still verified across many different devices in a non-changeable way. Thus, many of the security and reliability benefits remain completely intact.&lt;br&gt;
Because of these security benefits and more, blockchain is an amazing technology with lots of potential in app development.&lt;br&gt;
But no matter the method, blockchain on AWS has many uses.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;On a concluding note, you can clearly note that the combination of the cloud and blockchain can induce positive outcomes. The best things about both technologies come together to offer the most feasible business solutions with assurance of productivity. The flexibility, security, and scalability benefits of blockchain on AWS are the foremost reasons to consider its potential. In the long run, the development and deployment of blockchain solutions through cloud platforms would gain mainstream recognition.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>blockchain</category>
    </item>
  </channel>
</rss>
