这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Conversation

@AmrMKayid
Copy link
Member

@AmrMKayid AmrMKayid commented Jul 30, 2020

Description

Initial Deployment for Node to serverfull environment on AWS (HTTP and Websockets)
fixes #642

Checklist

  • Initial Apache2 Web Server is currently running
  • Running the PyGrid Network and Nodes
  • Testing the deployment

Affected Dependencies

Using Terraform for deployment

How has this been tested?

Testing on AWS production

Checklist

@AmrMKayid AmrMKayid added Type: New Feature ➕ Introduction of a completely new addition to the codebase Type: Epic 🤙 Describes a large amount of functionality that will likely be broken down into smaller issues federated learning PyGrid Status: Review Needed 🙋 This needs someone to approve, deny, comment, or request changes Status: In Progress 🌟 This is actively being worked on Status: Investigating 🔍 Something we are looking in to, but not currently in active development labels Jul 30, 2020
@AmrMKayid AmrMKayid self-assigned this Jul 30, 2020
Copy link
Contributor

@sachin-101 sachin-101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great start. I would suggest to keep all the Terraform files in a directory, as it is the standard practice. We can keep that directory in the root PyGrid folder. May be name the directory deploy.

cidr_blocks = ["0.0.0.0/0"]
}

ingress {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably want to disable SSH from a security standpoint. Do you need this to be open for some reason?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am enabling it to be able to access the instance and make sure PyGrid is working, check logs, etc...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically using it for deployment and development purposes, but yeah we should disable it once we are ready for production

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's consider that to be now. Go ahead and remove this. I'd hate to forget about it later.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we should leave it for now since it's already used for deploy.sh script and provisioner to be executed on the instances

@AmrMKayid AmrMKayid requested a review from sachin-101 August 14, 2020 13:32
Copy link
Member

@cereallarceny cereallarceny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @AmrMKayid - really love this. I'd love to even see some tests around this (if possible). Likewise, one thing we'll want to do ASAP is to develop a CLI and API around deploying these changes. That's gonna come in handy once we have the PyGrid Admin ready to go. 😄

cidr_blocks = ["0.0.0.0/0"]
}

ingress {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's consider that to be now. Go ahead and remove this. I'd hate to forget about it later.

@cereallarceny cereallarceny merged commit a1f3e86 into dev Aug 17, 2020
@cereallarceny cereallarceny deleted the cloud/aws branch August 17, 2020 15:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

federated learning PyGrid Status: In Progress 🌟 This is actively being worked on Status: Investigating 🔍 Something we are looking in to, but not currently in active development Status: Review Needed 🙋 This needs someone to approve, deny, comment, or request changes Type: Epic 🤙 Describes a large amount of functionality that will likely be broken down into smaller issues Type: New Feature ➕ Introduction of a completely new addition to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deploy Node to serverfull environment on AWS (HTTP and Websockets)

4 participants