Skip to content

Aws v3, worker environments, deployment logs#178

Open
fumbleforce wants to merge 8 commits intometeor-up:masterfrom
fumbleforce:aws-v3
Open

Aws v3, worker environments, deployment logs#178
fumbleforce wants to merge 8 commits intometeor-up:masterfrom
fumbleforce:aws-v3

Conversation

@fumbleforce
Copy link
Copy Markdown

@fumbleforce fumbleforce commented Jun 12, 2023

This PR updates the AWS package to the new V3 scheme, which has separate packages to for each AWS service.

Assisting in the rewrite was the addition of Typescript definitions.

The upgrade has worked for my use cases so far.

Additional features:

Worker environments
Environments can be set to be "workers", which do not have a web-facing load balancer.

Deployment log
You can choose to stream the logs from newly created instances into the console during deployments. This is to get more direct feedback during failed deployments, as having to dig through s3 buckets for lost instance logs is a pain.

@fumbleforce fumbleforce changed the title Aws v3 Aws v3, worker environments, deployment logs Jun 16, 2023
@fumbleforce
Copy link
Copy Markdown
Author

@zodern Thoughts?

@gerwinbrunner
Copy link
Copy Markdown
Contributor

This looks awesome! Thanks for making the effort.

@zodern
Copy link
Copy Markdown
Collaborator

zodern commented Jul 24, 2023

Thanks @fumbleforce. This does look really nice. Thanks for working on it. I'll try to review it within the next couple of weeks.

@fumbleforce
Copy link
Copy Markdown
Author

Had any time to review?

Comment thread src/assets/node.sh
# Install nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
if [[ $MAJOR_NODE_VERSION == "14" && $MINOR_NODE_VERSION -ge 21 ]]; then
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It might be helpful to look at how we fixed this in the zodern:meteor docker image: https://github.com/zodern/meteor-docker/blob/467ec350e3a4d6ba93987b8d14eaa8cc79959a67/image/scripts/setup_nvm.sh#L21-L38

It copies Meteor's node into nvm's folder so nvm is able to use it. You'll also want to check the patch version, since Meteor's node version uses the same minor version as some official releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants