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,980 points

retagged Nov 13, 2018 by Vardhan 1,058 views

1 answer to this question.

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,890 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
• 18,520 points
2,316 views
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,700 points
5,661 views
+1 vote
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
• 52,350 points
1,396 views
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,890 points
854 views
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,890 points
856 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP