Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aexol aws-ethereum, aws-node and aws-wordpress cookbooks #237

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ parsers:
javascript:
enable_partials: false
ignore:
- test
- lib
- docs
- packages/tests
- packages/**/tests
- packages/**/lib
- packages/**/docs
- packages/**/test.js
- packages/**/jest.config.js
- packages/**/webpack.config.js
4 changes: 4 additions & 0 deletions docs/cookbook/web/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
- Complete solutions
- Bots
- [Facebook Weather Bot](/solutions/weather-bot)
- AWS
- [Wordpress on Lightsail](/solutions/aws-wordpress)
- [NodeJS on Lightsail](/solutions/aws-node)
- [Ethereum on Lightsail](/solutions/aws-ethereum)
- Deployment
- [Deploying projects using CircleCI](/deployment/circle-ci)
- [Creating project template](/deployment/create-project-template)
Expand Down
35 changes: 35 additions & 0 deletions docs/cookbook/web/solutions/aws-ethereum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# AWS Ethereum

- Preparation: **1 minute**
- Requirements:
- Initiated Syncano project
- config with [aws-config](/solutions/aws-config)
- Sockets:
- [aws-ethereum](https://syncano.io/#/sockets/aws-ethereum)


### Problem to Solve

Configuring, and setting up an Ethereum network can take a lot of time and effort.


### Solution

This socket launches an Ethereum network on an Amazon ECS cluster or an Amazon EC2 instance. It also deploys additional required components.

## Installing dependencies

If you haven't done that already, please [configure](/solutions/aws-config) your Syncano instance

To install `aws-ethereum` type:

```sh
$ npx s add aws-ethereum
$ npx s deploy
```

## Testing functionality

Now you can start creating your fabulous dApp on Ethereum blockchain. For additional info, see:
- AWS docs for more on [instance configuration](https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-templates-ethereum.html)
- Docs of the latest [Ethereum](http://www.ethdocs.org/en/latest/) release
38 changes: 38 additions & 0 deletions docs/cookbook/web/solutions/aws-node.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# AWS NodeJS

- Preparation: **1 minute**
- Requirements:
- Initiated Syncano project
- config with [aws-config](/solutions/aws-config)
- Sockets:
- [aws-node](https://syncano.io/#/sockets/aws-node)

### Problem to Solve

Configuring, and setting up NodeJS on a dedicated virtual private server can take a lot of time and effort.

### Solution

This socket enables quick and effortless configuration of NodeJS with an Amazon Lightsail instance.

## Installing dependencies

If you haven't done that already, please [configure](/solutions/aws-config) your Syncano instance

To install `aws-node` type:
```sh
$ npx s add aws-node
$ npx s deploy
```

## Done!

To create a NodeJS server on AWS Lightsail, call the create-ls-instance endpoint

```sh
$ npx s call aws-node/create-ls-instance
```

## Testing functionality

Now you can start creating your NodeJS application.
38 changes: 38 additions & 0 deletions docs/cookbook/web/solutions/aws-wordpress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# AWS S3 Wordpress

- Preparation: **1 minute**
- Requirements:
- Initiated Syncano project
- config with [aws-config](/solutions/aws-config)
- Sockets:
- [aws-wordpress](https://syncano.io/#/sockets/aws-wordpress)

### Problem to Solve

Configuring, and setting up WordPress on a dedicated virtual private server can take a lot of time and effort.

### Solution

This socket enables quick and effortless configuration of a WordPress service with an Amazon Lightsail instance.


## Installing dependencies

If you haven't done that already, please [configure](/solutions/aws-config) your Syncano instance.

To install `aws-wordpress` type:
```sh
$ npx s add aws-wordpress
$ npx s deploy
```

## Done!

Call the create-ls-instance endpoint
```sh
$ npx s call aws-wordpress/create-ls-instance
```

## Testing functionality

Now you can login to your WordPress instance and start creating your fabulous WordpPress service.