1. 程式人生 > >Get Started with Blockchain Using the new AWS Blockchain Templates

Get Started with Blockchain Using the new AWS Blockchain Templates

Update: The content in the blog post below is no longer up to date. For more information please see our documentation.

Many of today’s discussions around blockchain technology remind me of the classic

Shimmer Floor Wax skit. According to Dan Aykroyd, Shimmer is a dessert topping. Gilda Radner claims that it is a floor wax, and Chevy Chase settles the debate and reveals that it actually is both! Some of the people that I talk to see blockchains as the foundation of a new monetary system and a way to facilitate international payments. Others see blockchains as a distributed ledger and immutable data source that can be applied to logistics, supply chain, land registration, crowdfunding, and other use cases. Either way, it is clear that there are a lot of intriguing possibilities and we are working to help our customers use this technology more effectively.

We are launching AWS Blockchain Templates today. These templates will let you launch an Ethereum (either public or private) or Hyperledger Fabric (private) network in a matter of minutes and with just a few clicks. The templates create and configure all of the AWS resources needed to get you going in a robust and scalable fashion.

Launching a Private Ethereum Network
The Ethereum template offers two launch options. The ecs option creates an Amazon ECS cluster within a Virtual Private Cloud (VPC) and launches a set of Docker images in the cluster. The docker-local option also runs within a VPC, and launches the Docker images on EC2 instances. The template supports Ethereum mining, the EthStats and EthExplorer status pages, and a set of nodes that implement and respond to the Ethereum RPC protocol. Both options create and make use of a DynamoDB table for service discovery, along with Application Load Balancers for the status pages.

Here are the AWS Blockchain Templates for Ethereum:

I start by opening the CloudFormation Console in the desired region and clicking Create Stack:

I select Specify an Amazon S3 template URL, enter the URL of the template for the region, and click Next:

I give my stack a name:

Next, I enter the first set of parameters, including the network ID for the genesis block. I’ll stick with the default values for now:

I will also use the default values for the remaining network parameters:

Moving right along, I choose the container orchestration platform (ecs or docker-local, as I explained earlier) and the EC2 instance type for the container nodes:

Next, I choose my VPC and the subnets for the Ethereum network and the Application Load Balancer:

I configure my keypair, EC2 security group, IAM role, and instance profile ARN (full information on the required permissions can be found in the documentation):

The Instance Profile ARN can be found on the summary page for the role:

I confirm that I want to deploy EthStats and EthExplorer, choose the tag and version for the nested CloudFormation templates that are used by this one, and click Next to proceed:

On the next page I specify a tag for the resources that the stack will create, leave the other options as-is, and click Next:

I review all of the parameters and options, acknowledge that the stack might create IAM resources, and click Create to build my network:

The template makes use of three nested templates:

After all of the stacks have been created (mine took about 5 minutes), I can select JeffNet and click the Outputs tab to discover the links to EthStats and EthExplorer:

Here’s my EthStats:

And my EthExplorer:

If I am writing apps that make use of my private network to store and process smart contracts, I would use the EthJsonRpcUrl.

Stay Tuned
My colleagues are eager to get your feedback on these new templates and plan to add new versions of the frameworks as they become available.

Jeff;

相關推薦

Get started with microservices using Spring Boot and Cloudant

Learning objectives Create a simple microservice that manages product reviews in a Cloudant NoSQL database. Estimated time It takes a

Get Started with Deep Learning Using the AWS Deep Learning AMI

Whether you’re new to deep learning or want to build advanced deep learning projects in the cloud, it’s easy to get started by using AWS.

Get Started with AWS Organizations

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Get started with AWS

X1e instances will offer up to 25 Gbps of peak network bandwidth when enabled with Elastic Network Adapter (ENA) based Enhanced Networking. X1e

.net入門 - Get Started with .NET

tps 命令行 -s studio core 閱讀 中心 入門教程 .com 閱讀原文   有很多種方式去開始使用.net。因為.net是一個巨大的平臺,在這個文檔裏面有很多文章,告訴你如何從不同的角度去開始使用.net。 使用.NET的語言入門   C#入門文章和C#

[Cypress] Get started with Cypress

simple -i base which tin should mod test configure Adding Cypress to a project is a simple npm install away. We won’t need any glob

FastDFS的配置、部署與API使用解讀(1)Get Started with FastDFS

版權宣告:本文為博主原創文章,未經博主允許不得轉載。合作請聯絡微信 sinosuperman。 https://blog.csdn.net/Poechant/article/details/6977407 轉載請註明來自:詩商·柳驚鴻CSDN部落格,原文連結:FastDFS的配置、部署

Get Started with ASP.NET Web API 2 (C#)

https://docs.microsoft.com/en-us/aspnet/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api https://docs.microsoft.com/en-us/

4 Practical Steps to Get Started with Artificial Intelligence CLEARPRISM

With so many technologies and use cases, getting started with artificial intelligence (AI) initiatives and deployments can be a daunting task for business

How to Get Started With Conversational AI

An ever-expanding list of benefits and a growing demand for voice interfaces has placed Conversational AI high on the list as a key component for any digit

5 Ways to Get Started with Marketing AI Today

Mike Kaput is a senior consultant at PR 20/20 who is passionate about AI's potential to transform marketing. At PR 20/20, he creates measurable marketing

Get started with private NuGet feeds in Azure DevOps

Okay we’re almost half way there. Now it’s time to define our NuGet tasks. .NET Core is pretty awesome and is able to deal with NuGet feeds out of the box,

Ask HN: Good ways to get started with ML/AI/DS?

Hello all, I'm interested in learning more about machine learning, artificial intelligence, and data science. In the past, I've read that the best ways to

How To Get Started With Machine Learning Algorithms in R

Tweet Share Share Google Plus R is the most popular platform for applied machine learning. When

How to Get Started with Deep Learning for Natural Language Processing (7

Tweet Share Share Google Plus Deep Learning for NLP Crash Course. Bring Deep Learning methods to

Steps to Get Started in Machine Learning: The Top

Tweet Share Share Google Plus Getting started is much easier than you think. In this post I show

Course to Get Started with XGBoost in Python

Tweet Share Share Google Plus XGBoost With Python Mini-Course. XGBoost is an implementation of g

How to Get Started with Machine Learning in Python

Tweet Share Share Google Plus The Python conference PyCon2014 has held recently and the videos f

How To Get Started With Machine Learning in R (get results in one weekend)

Tweet Share Share Google Plus How do you get started with machine learning in R? R is a large an