Web Service with WebSocket Implementation on AWS Blue-green deployment

0 votes
I'm trying to implement web sockets for a couple of web services. My question is will it have any effect on blue-green deployments and auto-scaling on aws.
Apr 2, 2018 in DevOps & Agile by Damon Salvatore
• 5,250 points

retagged Nov 13, 2018 by Vardhan 75 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Try connection draining. It will send all new requests to the environment you want while giving time the other to fall off.

a max-lifetime of your web socket can be set and always remember to keep the connection draining period longer than that of your web socket.

Or you can just handle the client side. If at any time web socket connection stops you can start a new one through AWS ELB to an active server. This should work even when you're scaling down on AWS. Also remeber not to keep any state of your ephemeral ELB backends.

answered Apr 2, 2018 by DareDev
• 6,520 points

Related Questions In DevOps & Agile

0 votes
1 answer
+1 vote
3 answers

How can I connect an app with an aws ec2 instance?

This is how you deploy a web ...READ MORE

answered Oct 18, 2018 in DevOps & Agile by Hannah
• 14,080 points
0 votes
1 answer

Docker for windows error: can’t access service on exposed port in windows container mode

You can try the following: Access container from different ...READ MORE

answered Dec 12, 2018 in DevOps & Agile by Tyrion anex
• 8,280 points
+4 votes
2 answers

run docker-daemon with --iptables=false

The docker network model uses iptables to ...READ MORE

answered Aug 2, 2018 in DevOps & Agile by Kalgi
• 35,800 points
0 votes
1 answer
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 35,800 points
0 votes
1 answer

Deploying web app on Azure using VSTS

You can find the following guide helpful ...READ MORE

answered Aug 6, 2018 in DevOps & Agile by DareDev
• 6,520 points
0 votes
1 answer

What OS is Jenkins installed on Azure Virtual Machine?

Under Managed Jenkins there's a section called ...READ MORE

answered Apr 4, 2018 in DevOps & Agile by DareDev
• 6,520 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.