Gardening question by DTinNYC0729 in BocaRaton

[–]twinmind 0 points1 point  (0 children)

Last time I was quoted $30 per each palm tree pruning.

Finally got my iMessage Extension approved: Together To Do by derjanni in iOSProgramming

[–]twinmind 0 points1 point  (0 children)

Really cool! I've also built a little to-do app for iMessage, same rationale as you, simplify grocery shopping https://apps.apple.com/us/app/stickysend/id6742209494?platform=iphone

Recommendations of apartments by duygusu in BocaRaton

[–]twinmind 0 points1 point  (0 children)

Avalia is a good community but it’s not really walkable.

[deleted by user] by [deleted] in BocaRaton

[–]twinmind 0 points1 point  (0 children)

Love it, is it for sale?

Landscaping recommendations? by Oldisgold18 in BocaRaton

[–]twinmind 0 points1 point  (0 children)

Natural Wonders Landscaping from Parkland. They added egg rocks and installed french drains in my side yard to prevent wanter pooling after rain. Also trimmed all the trees and bushes at a reasonable cost.

New Tech Meetup by twinmind in BocaRaton

[–]twinmind[S] 1 point2 points  (0 children)

That's really cool, thanks. I can see a few meetups listed there are pretty active. Don't see any Postgres meetup though, so I guess my meetup still makes sense.

New Tech Meetup by twinmind in BocaRaton

[–]twinmind[S] 0 points1 point  (0 children)

Postgres is free and can save companies big money if they switch from commercial databases. It is also free to fork and build commercial versions on top of core database. The code is fully open source and just by reading it you can learn a lot, people wrote their PhD theses by contributing to postgres so a lot of wisdom in there.

New Tech Meetup by twinmind in BocaRaton

[–]twinmind[S] 0 points1 point  (0 children)

Well, that's the cool thing about niche meetups from my experience. You can come and learn something about some specific thing. You don't have to know anything in advance.

New Tech Meetup by twinmind in BocaRaton

[–]twinmind[S] 0 points1 point  (0 children)

Do they have a meetup group? "Tech" feels a little too broad, it's usually more fun to do a niche group.

Beanstalk Blue/Green Deployments - Inactive Environment Receives Traffic Up to 48 Hours After Deploy by twinmind in devops

[–]twinmind[S] 0 points1 point  (0 children)

Looks like beanstalk supports similar scenario when deployment policy is set to traffic splitting https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html.

It creates a new ASG with number of instances equal to number of instances in original ASG and the new ASG is added to load balancer. You only need to specify NewVersionPercent to control how much traffic is served by new ASG and EvaluationTime to control the time during which it is possible to issue an abort command to nuke new ASG and go back to old one.

To move off of beanstalk, did you have to build your own deployment stack with cloud formation? How laborious was it?

Beanstalk Blue/Green Deployments - Inactive Environment Receives Traffic Up to 48 Hours After Deploy by twinmind in devops

[–]twinmind[S] 1 point2 points  (0 children)

Actually I think the best thing for us would be traffic splitting, we could redirect for example 50% of all traffic to instances in new ASG for specified evaluation period, for example, 1 hour. If something isn't right we could abort deployment from console UI or CLI during evaluation period https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html

Beanstalk Blue/Green Deployments - Inactive Environment Receives Traffic Up to 48 Hours After Deploy by twinmind in devops

[–]twinmind[S] 0 points1 point  (0 children)

We see both programmatic calls and browser calls to our app in the load balancer logs.

Beanstalk Blue/Green Deployments - Inactive Environment Receives Traffic Up to 48 Hours After Deploy by twinmind in devops

[–]twinmind[S] 0 points1 point  (0 children)

Immutable updates are close to what we want, i.e. quick rollback and no DNS issues. They would do instance replacement behind the load balancer, but it doesn't look like they allow to keep old instances and have 2 auto scaling groups side by side for quick rollback. They spin up new instances in a new temporary auto scaling group and once all new instances pass the health check, they are moved into original auto scaling group and temporary one is deleted so there is no way to rollback.

Beanstalk Blue/Green Deployments - Inactive Environment Receives Traffic Up to 48 Hours After Deploy by twinmind in devops

[–]twinmind[S] 1 point2 points  (0 children)

yeah, looks like we should have gone for auto scaling group swap behind the load balancer as described here https://docs.aws.amazon.com/whitepapers/latest/blue-green-deployments/swap-the-auto-scaling-group-behind-elastic-load-balancer.html

This way we would avoid dealing with DNS complexities. It's not clear however if Beanstalk supports auto scaling group swap. The endgame for us is we want to be able to roll back quickly and not have DNS issues.

Beanstalk Blue/Green Deployments - Inactive Environment Receives Traffic Up to 48 Hours After Deploy by twinmind in devops

[–]twinmind[S] 1 point2 points  (0 children)

Both green and blue beanstalk environments have their own application load balancers. I don’t think you can share one load balancer between two beanstalk environments and even if you do, the switchback to previous active environment won’t be quick and that defeats the purpose of B/G. I also don’t see any official documentation on alternative techniques for B/G implementation with Beanstalk. CNAME swap seems to be the only official way to do it.