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

AWS Fargate get Input data in python with Step Function #2

Open
anuborah opened this issue Mar 19, 2020 · 1 comment
Open

AWS Fargate get Input data in python with Step Function #2

anuborah opened this issue Mar 19, 2020 · 1 comment

Comments

@anuborah
Copy link

I am implementing a Step Function where by need to get the Input data sent from Step function to AWS Fargate Tasks. Inside the container how to retrieve the Input data from Step Function and how to send the response to the Step Function. The project in ECS is written in python. Please help to suggest how to get the Input data from Step Function to AWS Fargate tasks in python.

@ryfeus
Copy link
Owner

ryfeus commented Mar 23, 2020

@anuborah I think that in your case you would need to customize step function fargate state to send a custom command to fargate task (something like here https://github.com/PacktPublishing/-Practical-Deep-Learning-on-the-Cloud/blob/master/5.3/serverless.yml#L91). If you have a lot of parameters, you can upload them to S3 and pass input and output S3 key to Fargate. After processing, Fargate can upload results to output S3 key and the next state can read from it.
Let me know if you encounter any issues.

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

No branches or pull requests

2 participants