question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Instruction to setup on AWS is not clear

See original GitHub issue

I can not successfully finish the aws setup. I use CloudFormation Template here https://github.com/Netflix/metaflow-tools/tree/master/aws/cloudformation and it gives me all the resources I need to use here. image

When I do metaflow configure aws, As I understand, I need to put output resources arns there. But I notice

  1. It’s hard for me to map resources to configurations. For example,
  • Please enter the job queue to use for batch: -> Queue name or ARN?

  • Please enter the IAM role to use for the container to get AWS S3 access -> Is it ECSJobRole from CF outputs?

  • Please enter the URL for your metadata service: -> Is it the ServiceUrl? There’s another one InternalServiceUrl.

  1. Some configuration we can not find in the CloudFormation outputs
  • Please enter the default container image to use -> Can not find any instruction here. I assume we at least need to have python env for the base container image?

  • Please enter the container registry -> should be <account_id>.dkr.ecr.us-west-2.amazonaws.com

I would suggest to improve the doc here. https://docs.metaflow.org/metaflow-on-aws/deploy-to-aws

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
savingoyalcommented, Dec 10, 2019

@Jeffwan - Thanks for trying out Metaflow!

  1. Mapping resources to configurations -
  • You can use either the queue name or the ARN
  • Yes, indeed it is the ECSJobRole
  • Please use ServiceUrl
  1. Image configuration - these were intended to be optional. Our next release will fix them
  • Yes, indeed. For now (till we release 2.0.1), please use python:latest image
  • You can use docker.io

These issues will be fixed promptly in the next release. cc @seeravikiran

1reaction
Jeffwancommented, Dec 12, 2019

@anishpdalal Yeah, you got it. The instruction needs to be improved. Same on the code side, for this case, probably check if there’s no protocols, use s3:// by default.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting AWS CLI errors
Confirm that your AWS CLI is configured. Various errors can occur if your config and credentials files or your IAM user or roles...
Read more >
Configuration and credential file settings - AWS Documentation
To remove a setting, delete the corresponding setting in your config and credentials files. aws configure. Run this command to quickly set and ......
Read more >
Terminate active AWS resources that you no longer need
Open the AWS Management Console. · Open the console for the service that contains the resources that you want to terminate (for example,...
Read more >
Configuration basics - AWS Command Line Interface
This section explains how to quickly configure basic settings using the config and credentials files that the AWS Command Line Interface (AWS CLI)...
Read more >
Troubleshoot an unresponsive website on an EC2 instance
Websites running on an EC2 instance might become unreachable for multiple reasons. To resolve this issue, confirm that the configuration ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found