-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Description
Are you sure the application in the microservices/mlewp2-web-service is correct?
I did everything you write in the book (chapter 5 hosting on ECS) and it fails.
After investigating, and asking ChatGPT and other sources, they tell me that for a microservice to be host on AWS it has to have healthcheck endpoints. and your application does not seem to have them.
something like
from flask import Flask
app = Flask(__name__)
@app.route('/')
def home():
return 'Hello, ECS!', 200
@app.route('/health')
def health():
return 'Healthy', 200
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000)OmarAlmusa
Metadata
Metadata
Assignees
Labels
No labels