Questions tagged [aws]
The aws tag has no usage guidance.
80
questions
6
votes
1
answer
1k
views
Connecting to remote Geth client from AWS hosted server via web3 needs fix
There is a general problem that is affecting most everyone who tries to initialize AWS hosted servers with a remote Geth instance. It would be great to have documentation to address a fix or at least ...
5
votes
1
answer
1k
views
ethereum on Amazon AWS - how to connect two mining peers? [duplicate]
I'm currently trying to setup an ethereum private chain on AWS EC2 instances. Unfortunately, the nodes in this network fail to connect to each other over the ethereum P2P protocol.
My question is: ...
4
votes
1
answer
2k
views
Why are blocks imported so slowly? - Geth node
I'm running a geth node on AWS and it's fully synced, but looking at the logs and the blocks mined I see that it takes a lot of time to import a new block.
For example:
Geth log
INFO [01-14|18:15:...
4
votes
2
answers
676
views
Smart Contract firing send ether transaction that's not in the contract
I need some help with my smart contract, here's the smart contract code
pragma solidity ^0.4.18;
contract UserToken {
mapping (bytes32 => uint8) public tokenBalance;
bytes32[] public ...
3
votes
4
answers
5k
views
How do I connect to a remote Parity node from web3.js?
I’ve installed parity on a AWS EC2 instance following these instructions and started parity with the --jsonrpc-apis 'web3,eth,net,parity' flag. I've also tried many other flags, such as --...
3
votes
1
answer
690
views
Convert pem public key into ethereum address by Go
I have ECC_SECG_P256K1 Public key PEM File generated by AWS KMS.
I want to convert pem public key into ethereum address by Go.
How can I get it?
Sample Pem Data
-----BEGIN PUBLIC KEY-----
...
3
votes
2
answers
1k
views
Can't connect to EC2 Ethereum node from AWS Lambda
I tried to continue the discussion on this similar question: Connection Error - Couldn't connect to ethereum node on AWS at http://xx.xxx.xx.xxx:8545. Mods told me to create a new one so here goes....
3
votes
2
answers
2k
views
Connection Error - Couldn't connect to ethereum node on AWS at http://xx.xxx.xx.xxx:8545
We setup ethereum node on AWS Ubuntu Server 16.04 LTS (HVM) EC2 instance and configured it in the standard way before launching the geth console using the below command:
sudo geth --identity "...
3
votes
1
answer
152
views
Running Swarm on AWS
After succesfully setting up a POA network on azure (hurray for 1 click deployment), i wanted to set up a private Swarm cluster (well , 1 node will do for testing).
I took an AWS EC2 instance to save ...
3
votes
2
answers
1k
views
What would be potential problems with building "private" Ethereum network on AWS?
Suppose I have two EC2 instances on AWS that are running geth nodes. They have the same genesis block and are in synchronization because peering is setup with open port 30303 (by default is for ...
2
votes
1
answer
4k
views
Is there a way to access Parity UI running on AWS?
I am trying to run Parity UI on Amazon EC2 instance to be accessible on external IPv4 address, but failing miserably with this attempt. I think I tried all the startup options it provides but couldn't ...
2
votes
1
answer
319
views
Host Geth Mainnet on cloud or use existing mainnet?
We are planning to launch our DAPPS Smart Contracts and Token Sale Contracts on mainnet. For testnet we had setup on Digital Ocean. But for mainnet we are confused between to host on our own node on ...
2
votes
1
answer
590
views
Can MetaMask be used as remote node for back end, and not require users to have plug in?
I am building a web app that would track events/transactions made by contracts on the chain. At this point I am considering hosting a geth node on AWS EC2 in order to use in my web3.js initialization ...
2
votes
2
answers
195
views
Must I run node and compile/migrate contracts on AWS Instance for WebDapp?
I am launching a semi-decentralized webapp using AWS and was wondering if I must continually run a node on AWS for it to work. Currently, if I don't run a Rinkeby node and compile/migrate the contract ...
2
votes
1
answer
387
views
How to Setup Ethereum Based Website
I have a Wordpress website on one server. And on AWS (another server) I have block chain installed.
Now I want to show the Block chain data (Smart Contarct Informationor Transactions) into my ...
2
votes
1
answer
60
views
RPC endpoint for production environments
Context
For testing environments, I'm spinning up AWS instances with App-chain client nodes and using the AWS ALB to access the exposed RPC endpoint. It is protected by the security group rules, so ...
2
votes
1
answer
122
views
Decentralized Data Storage for IoT using Sia
For my Master research I want to make a proof-of-concept of decentralized data storage for an IoT scenario.
My idea is to receive measurement values from a raspberry pi and to store them using sia.
I ...
2
votes
0
answers
410
views
Using Truffle with Node JS (MongoDB)
I am trying to use truffle along with a MongoDB database which means that I need multiple ports.
For local testing, I have been starting up my RPC, switching the port that the app is listening, and ...
2
votes
0
answers
134
views
Why does my JSON-RPC request never complete?
I've set up geth to run in a Docker container with the following command (yes, I realize it's wide open to the world):
docker run -it -p 127.0.0.1:8545:8545 -p 30303:30303 -v /data/ethereum:/root/....
2
votes
0
answers
345
views
How to setup a high performance parity RPC service?
I'd like to provide the RPC service from a parity daemon hosted in EC2. There're multiple options regarding the instance type, if it's for production, should I choose "compute optimized" or "storage ...
2
votes
2
answers
1k
views
Private ethereum network on AWS
I am having trouble creating a private ethereum network on AWS. I have enabled TCP/UDP for the desired ports in the firewall in AWS.
On one node A(aws instance) I start the geth console by making use ...
2
votes
0
answers
632
views
Ethereum on AWS
I am building environment on AWS where I would like for my ethereum node not to be publicly accessible.
The server with ethereum is in private subnet which has internet connection over nat gateway.
...
1
vote
3
answers
2k
views
How can I "require('web3')" on Amazon AWS Lambda?
If I understand the documentation correctly, I need to build web3.js on AWS Lambda. How can I do that and which version should I use?
1
vote
1
answer
49
views
Is there any concern for the significant number of nodes being hosted on AWS/ cloud providers?
Just curious if there is any downside that many nodes are being hosted on cloud providers?
For example Infura, which supports many nodes and provides a large portion of connections to Ethereum nodes, ...
1
vote
1
answer
440
views
Minimum system requirements for mining ropsten ethers
I want to create my own faucet that will mine Ropsten ethers.
What is the minimum system configuration which is required? Is it a good idea to use my own server such as AWS? What will be the ...
1
vote
1
answer
436
views
How to integrate rinkeby test network with centralised server?
I am new to ethereum blockchain. I want to create ICO platform based website. I have created smart contract and deployed on rinkeby test network. I used python web3.py library to integrate python with ...
1
vote
1
answer
236
views
Run Chainlink node for BSC main / testnet
I'm trying to get full potential of using Chainlink to interact between smart contracts and APIs and currently I'm a little stuck at running a Chainlink node for BSC main / testnet. I see in their ...
1
vote
2
answers
1k
views
Geth on AWS EC2, rpc call networking
I'm trying to boot up a Geth node on an AWS EC2 instance and for some reason I'm unable to connect to it via a simple RPC call from outside the instance. I've done this successfully with a Parity ...
1
vote
1
answer
158
views
Issue with Serverless deploy of smart contract-Dependency mismatch -Package.json,Package-lock.json error
I'm trying to deploy my smart contract serverless(AWS lambda) and I'm using Truffle framework.
The code is getting deployed in an earlier system(earlier it was deployed here). Now I have updated the ...
1
vote
1
answer
1k
views
adding new peer to quorum dynamically
I've three boxes quorum setup running on AWS and i wanted to dynamically add a node to this setup so i added enode of that node along with ip in static-nodes.json of all boxes and started the node but ...
1
vote
1
answer
237
views
Deploying Ethereum template on AWS?
I would like to deploy an Ethereum template (the one provided on aws website : https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-templates-ethereum.html) in a private ...
1
vote
1
answer
616
views
"Public DNS" v.s. "Public IP" of AWS for running geth RPC
In my AWS ec2 instance, I run geth and specify --rpcport and --rpcaddr using "Public DNS" like this:
geth --datadir "./signer1/data" --networkid 55661 --port 2000 --rpc --rpcport 5566 --rpcaddr "ec2-...
1
vote
0
answers
22
views
Building a Hardhat Project in an AWS EC2 Debian Box, Vyper Compiler Error
Everything is working, solidity contracts compile. But I want to use Vyper; I love vyper, because Vitalik Buterin made it and it has such beautiful simplicity.
For some reason I cannot get hardhats ...
1
vote
0
answers
15
views
IP host management in truffle_config.js (Private Ethereum Network)
I have 3 Amazon Ec2 instances (each with a Geth node running on them) and I'm running over them my Private Geth Ethereum (PoA) blokchain and I wanted to ask if it was necessary to specify the IPs of ...
1
vote
1
answer
224
views
Event Monitoring - TheGraph, AWS, Alchemy
I am looking for any ideas on the best way (from a production standpoint) to have a queryable way to get the balance of accounts in a smart contract which would be deployed on multiple EVM compatible ...
1
vote
0
answers
45
views
Using AWS CloudHSM to perform a linkable ring signature
I'm currently working on an Ethereum project which uses linkable ring signature to sign a message in an anonymous way. Is there a solution to perform this signature in an HSM? I know they're stricly ...
1
vote
0
answers
239
views
Best practice of keeping web3 connection alive with AWS Lambda
I am using a python flask app on AWS Lambda to serve my application, and i want to use web3 for some queries.
Because lambda is inherently functional, i want to somehow keep my web3 connection alive ...
1
vote
1
answer
655
views
Batch request returns undefined
I'm trying to get batch requests to work with an Amazon Managed Blockchain, so I set up a simple test.
The error I get is Invalid JSON RPC response: {}.
This returns undefined if I don't log the error;...
1
vote
1
answer
274
views
How to make API calls to AWS Managed Blockchain using Nethereum?
I am testing AWS Ethereum (Preview) using Nethereum and I see this method to get a block:
var block = await web3.Eth.Blocks.GetBlockNumber.SendRequestAsync();
However, the AWS Ehtereum documentation ...
1
vote
0
answers
414
views
How come AWS geth can't find peers?
I am setting up a geth light client on an AWS EC2 instance. After running geth, the client seems to not be able to discover any peers and remains idle. Running admin.peers in the console shows that ...
1
vote
1
answer
330
views
Unexpected fault address
I picked up an Ethereum Blockchain at AWS ECS almost 3 months ago, it was working perfectly until I got this bug yesterday from the mining node:
unexpected fault address 0x7fb93c71d000
[signal SIGBUS:...
1
vote
2
answers
221
views
Connect dApp hosted on cloud with Geth running locally
I've my dApp running on AWS and Geth running locally. How am I supposed to connect my hosted dApp with the Geth?
I'm connecting my web3(using web3.py) using my computer's(Windows OS) IP address.
...
1
vote
0
answers
586
views
Geth mining stuck: Commit new mining work on Ubuntu instance
I have an Ubuntu instance running on aws ec2. I'm currently using Ubuntu server ec2 instance with the configuration as: 1 vCPU, 2.5 GHz, Intel Xeon Family, 1 GiB memory.
I'm running my Geth on this ...
1
vote
0
answers
135
views
How force parity on AWS use public IP?
I have few mining parity on docker container in AWS instances.
Each AWS instance have private and public IP.
When I ask "parity_enode" it return enode address with private IP. I want it use public IP. ...
1
vote
0
answers
2k
views
Is it profitable to mine Ethereum on AWS?
I got $5000 on AWS from Facebook by being part of FbStart. Since I wont be using these credits for web development, I want to know if it would be profitable for me to mine Ethereum? Can I at least ...
1
vote
1
answer
425
views
Remote geth node failing to retrieve past events
I have set up a remote geth node on AWS as a web3 provider for my DApp.
The geth node is initialized with the following command (for testnet) as a daemon service:
[Unit]
Description=Ethereum go ...
1
vote
0
answers
114
views
Monitoring geth on AWS EC2 [duplicate]
I have setup a geth node on AWS for a DAPP I've created.
So there's a specific geth process running.
I've found that this shuts down every now and then. Any recommendations on how I can monitor this ...
1
vote
0
answers
27
views
Probe network for events and transactions while hosting on AWS ubuntu
My intention is to be able to log events and transactions on the ethereum chain, in order to display user updates in a standard http web application. if i am running geth on a AWS ubuntu server, i ...
0
votes
1
answer
1k
views
rpc requests to geth on AWS instance
I have geth running on an AWS EC2 instance. Here is how I started it:
geth --rpc --rpcaddr "127.0.0.1" --rpcport "8545" --rpc --rpccorsdomain "*"
from that same instance I can use python's request....
0
votes
2
answers
1k
views
A NodeJS app running on AWS instance + Web3 object
I have an NodeJS app running on AWS instance(the one you get for free). I want to get access to Web3 object in my server.js file. I don't think that installing and running full client like Geth on AWS ...