Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

docs(aws): updates per single-node/multi-node scenarios#116

Merged
vdice merged 3 commits intofermyon:mainfrom
vdice:docs/aws-reorg
Dec 9, 2022
Merged

docs(aws): updates per single-node/multi-node scenarios#116
vdice merged 3 commits intofermyon:mainfrom
vdice:docs/aws-reorg

Conversation

@vdice
Copy link
Member

@vdice vdice commented Nov 30, 2022

Some AWS-related docs updates/re-org following #100 cc @FrankYang0529

  • Re-introduce top-level AWS readme
  • Remove some duplication from the single/multi-node readmes
  • minor updates

@vdice vdice requested review from bacongobbler and michelleN and removed request for michelleN November 30, 2022 18:03
Signed-off-by: Vaughn Dice <vaughn.dice@fermyon.com>
Copy link
Member

@michelleN michelleN left a comment

Choose a reason for hiding this comment

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

I need to look into where / how spin uses Hippo username and password.


That being said, it should give users a quick look and feel for deploying apps
using Fermyon. By default, all apps will be accessible to the broader internet
(see the configuration details mentioned below). Additionally, when Let's Encrypt
Copy link
Member

Choose a reason for hiding this comment

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

Would add (LE) after Let's Encrypt since we're using the abbreviation later for folks who aren't familiar.

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've updated the text here to just remove the LE mention...

# Security disclaimer

By default for both scenarios, the allowed inbound and SSH CIDR block is
`0.0.0.0/0` aka The Entire Internet.
Copy link
Member

Choose a reason for hiding this comment

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

lol The Entire Internet 😂

aws/README.md Outdated
ssh -i /tmp/ec2_ssh_private_key.pem ubuntu@$(terraform output -raw eip_public_ip_address)
```

Once on the instance, output from user-data.sh can be checked like so:
Copy link
Member

Choose a reason for hiding this comment

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

what is user-data.sh?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you, I've added a clarification here.

export CONSUL_HTTP_ADDR=http://10.0.0.12:8500
export NOMAD_ADDR=http://127.0.0.1:4646
export BINDLE_URL=https://bindle.52.44.146.193.sslip.io/v1
export HIPPO_URL=https://hippo.52.44.146.193.sslip.io
Copy link
Member

Choose a reason for hiding this comment

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

Is this supposed to be FERMYON_DEPLOYMENT_ENVIRONMENT or is it still HIPPO_URL?

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'm unsure if this area can be updated/improved with a different approach introduced in recent Spin releases -- but for the purposes of spin login, I believe HIPPO_URL is still needed.

Signed-off-by: Vaughn Dice <vaughn.dice@fermyon.com>
@vdice vdice requested a review from michelleN December 7, 2022 22:17
@vdice
Copy link
Member Author

vdice commented Dec 9, 2022

@michelleN I believe I've addressed all comments -- let me know if there are any others to look at. Thank you!


# How to Deploy

First, navigate to the `terraform` directory and initialize Terraform:
Copy link
Member

Choose a reason for hiding this comment

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

Is this section still accurate? I don't see a terraform dir in this dir and the terrform dir two levels up contains two other dirs not a terraform script.

Copy link
Member

Choose a reason for hiding this comment

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

I think this should be terraform/multiple-nodes?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch! Both scenario READMEs should now be updated.


# How to Deploy

First, navigate to the `terraform` directory and initialize Terraform:
Copy link
Member

Choose a reason for hiding this comment

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

I think this should be terraform/multiple-nodes?

Signed-off-by: Vaughn Dice <vaughn.dice@fermyon.com>
@vdice vdice requested a review from michelleN December 9, 2022 21:23
@vdice vdice merged commit bc28c4e into fermyon:main Dec 9, 2022
@vdice vdice deleted the docs/aws-reorg branch December 9, 2022 22:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants