News for hackers. Stuff that matters.
Re:Docker Releases Plugin for Simplified Deployments into AWS by jcims on Monday July 27, 2020 @12:57AM (#23962345)
This is far from the first time, but I have a weird dirty feeling when i see infrastructure management tools directly reference specific service provider IaaS/PaaS services.

It’s the most direct route vs formalizing a standard but, uglh.

Re:Docker Releases Plugin for Simplified Deployments into AWS by scarface74 on Monday July 27, 2020 @01:21AM (#23962444)
How do you have a “standard” without each provider having to wait on a committee anytime they want any improvements?

Even the almighty Terraform which for some reason people still think makes it easy not to experience “cloud lock-in” has cloud specific provisioners.

Re:Docker Releases Plugin for Simplified Deployments into AWS by BjoernKW on Monday July 27, 2020 @01:53AM (#23962545)
In my opinion, being cloud-agnostic is today’s being database-agnostic.

In more than two decades of professional software development, I have only once encountered a situation where an existing application was migrated to a different RDBMS instead of just being rewritten. Using an ORM framework for the sake of database independence seems hardly justified in that case.

I suppose that things will turn out much the same with cloud agnosticism.

Similar to the RDBMS case, being agnostic of the underlying technology prevents you from using that technology’s more interesting features, to the extent that you’re treating a database as a dumb data store or cloud hosting as a mere space for hosting your files.

Re:Docker Releases Plugin for Simplified Deployments into AWS by mrgordon on Monday July 27, 2020 @03:08AM (#23962842)
I mostly agree with you but we definitely reduced reliance on AWS specific functionality after starting to offer on-premise software installations. Most of them don’t gain you THAT much and then the software really isn’t very portable.
Re:Docker Releases Plugin for Simplified Deployments into AWS by ramraj07 on Monday July 27, 2020 @05:17AM (#23963448)
I question this logic - there seem to be fundamental differences in even the basic services between various cloud providers. For example you can resize a compute-attached disk size live in GCP while you can't in AWS. Many intricacies like this are annoying, but at the same time advantageous if you know and use them. If you are primarily trying to just offer another layer on top of these cloud services, (like snowflake) where cross-cloud compatibility is part of your selling point, then it makes sense to abstract the cloud layer. Otherwise, I feel like it's better to choose a reliable vendor and stick to them, optimizing according to their strengths/weaknesses. Or go cross cloud but for very specific technologies (iirc BuzzFeed did this).
Re:Docker Releases Plugin for Simplified Deployments into AWS by jcims on Monday July 27, 2020 @09:07AM (#23964694)
Not the person you are replying too but some industries have regulatory mandates for vendor diversity in cases like this.

In addition, when your bills get to millions per month, the provider supplies quite a bit of TAMs and technical resources to your account. This can be helpful, but they also get a good understanding of where you are and are not in a position to dip out if things get sideways in billing. (Also, other providers will throw 6-7 figure credits your way to earn your business, being in a position to leverage them is a good thing.)

>Many intricacies like this are annoying, but at the same time advantageous if you know and use them.

This is very true. Building services or features that depend upon these is a good idea. Enshrining them deep within your assumptions and requirements about how you operate cloud-based workloads can work against you.

Re:Docker Releases Plugin for Simplified Deployments into AWS by scarface74 on Monday July 27, 2020 @12:08PM (#23966422)
When your build gets to be “millions per month”, you are already locked in. Any migrations is going to be a painful multi year progress. “Infrastructure has weight”.

Have you been part of an integration with a health care system? They are so tightly locked in to their existing EMR/EHR system it would make you cry. Every third party vendor that comes along has to integrate with it.

Part of the work I did at the company that I mentioned where I was a dev lead involved migrating our company from Workday. Their entire process was integrated into it.

Re:Docker Releases Plugin for Simplified Deployments into AWS by jcims on Monday July 27, 2020 @01:59PM (#23967664)
You're definitely locked in at some level, but if you are able and even demonstrate the ability to swing 30% of your workload over to another provider in a quarter, you're going to maintain some leverage.

Yes, have worked in healthcare on and off over the past 20 years and know precisely of what you speak. That's a different situation IMHO, same with ERP/HR/etc.

Re:Docker Releases Plugin for Simplified Deployments into AWS by clappski on Monday July 27, 2020 @07:21AM (#23964001)
You can create/resize/delete non-root EBS volumes without any downtime of the attached host(s), as far as I'm aware? Pretty sure I've done so in the past. You'll have to resize2fs or whatever but it shouldn't take any downtime.
Re:Docker Releases Plugin for Simplified Deployments into AWS by sp332 on Monday July 27, 2020 @08:11AM (#23964317)
EBS is not "compute-attached". GP means the disks that appear to be local to the instance.
Re:Docker Releases Plugin for Simplified Deployments into AWS by jcims on Monday July 27, 2020 @08:59AM (#23964628)
EBS volumes appear local to the machine.

    [ec2-user@ip-1-1-1-1 ~]$ sudo fdisk -l
    Disk /dev/xvda: 8 GiB, 8589934592 bytes, 16777216 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 0D7E094F-1C63-43F2-AC82-3316E992075B
    
    Device       Start      End  Sectors Size Type
    /dev/xvda1    4096 16777182 16773087   8G Linux filesystem
    /dev/xvda128  2048     4095     2048   1M BIOS boot
    
    Partition table entries are not in disk order.
Re:Docker Releases Plugin for Simplified Deployments into AWS by scarface74 on Monday July 27, 2020 @12:09PM (#23966441)
I think there is a miscommunication.

EBS “appears to be local” but it is actually networked attached storage. Instance storage (is that the correct name?) is where the VM and the storage are on the same physical server and it should be faster.

Re:Docker Releases Plugin for Simplified Deployments into AWS by mrweasel on Monday July 27, 2020 @01:37AM (#23962485)
I was so disappointed when I learned that I'd been duped in regards to Terraforms abilities. My colleagues had explained that Terraform would allow us to avoid being locked in to own cloud provider, because it's "cloud agnostic" so we could easily move to between Azure, GCP and AWS.

Imagine my disappointment when I learned that no actually, Terraform will need to know which type of EC2 instance you want, you need to configure an AWS load balancer, not just "a load balancer".

Terraform does NOTHING to help you move between cloud platforms aside from providing a language that will work across providers. You still need to understand how everything ties together and is configured in each platform, now you just can use the examples in the documentation or the newest features.

Re:Docker Releases Plugin for Simplified Deployments into AWS by jareware on Monday July 27, 2020 @02:37AM (#23962705)
Either your colleagues were very misinformed, or this was a slight misunderstanding on your part: Terraform IS cloud agnostic, but not in the way you understood.

Instead, it allows you to use the same tool and management model for resources on any of the 3 big cloud providers, about a 100 assorted SaaS providers, and most importantly, wire them together (e.g. create a Mailgun configuration, and set up its verification DNS records on AWS), all in code, and in the same workflow.

Re:Docker Releases Plugin for Simplified Deployments into AWS by scarface74 on Monday July 27, 2020 @09:16PM (#23971279)
I had a (friendly) back and forth with someone from Hashicorp on HN a while back. They are careful not to call Terraform “cloud agnostic” for that reason.