Sample websocket server on AWS Elastic Beanstalk
See the BLOG.md
file for a tutorial.
lein run
Connect to ws://localhost:8080/ws with a websocket client (try the excellent [Simple WebSocket Client] 1 Chrome extension).
./scripts/dockerise local
./scripts/dockerise run
Connect to ws://localhost:8080/ws as above.
After creating a Docker environment and setting the SERVER_PORT environment
./scripts/dockerise beanstalk
Create an application version in Elastic Beanstalk, uploading the
target/ws-eb-sample.zip
file, then deploy the version.
Hit your Elastic Beanstalk environment on port 80
Copyright © 2014 Josh Glover [email protected]
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.