Hot answers tagged

92 votes
Accepted

Why do we use a OS Base Image with Docker if containers have no Guest OS?

Since all Linux distributions run the same (yup, it's a bit simplified) Linux kernel and differ only in userland software, it's pretty easy to simulate a different distribution environment - by just ...
  • 8,051
36 votes

Why do cloud compute instances spin up VMs and not containers?

Containers typically run only a single application and are immutable, i.e. and changes are not preserved across restarts. Containers also don't have their own kernel. VMs on the other hand run the ...
  • 23.8k
34 votes
Accepted

Is there a cloud-based reverse proxy solution in AWS?

You can use AWS API Gateway (documentation). API Gateway helps developers deliver robust, secure and scalable mobile and web application backends. API Gateway allows developers to securely connect ...
19 votes
Accepted

Why do cloud compute instances spin up VMs and not containers?

Your question is, to some extent, looking at things backwards: EC2 isn't a general-purpose hosting solution that happens to use VMs; it is a service for hosting VMs. As such, there's a few ways to ...
  • 480
17 votes

Why do cloud compute instances spin up VMs and not containers?

Security is definitely a reason. Containers share the same kernel between them and the host. So they are not considered 100% isolated. Yet cloud providers do provide containers also. AWS does it too. ...
  • 1,559
16 votes

What does it mean when Linux has no I/O scheduler

It seems that on kernels >= 3.13 none is not an alias of noop anymore. It is shown when the blk-mq I/O framework is in use; this means a complete bypass of the old schedulers, as blk-mq has (right now)...
16 votes

How can I determine if it is cost-effective to move my site to cloud solution?

Update AWS would charge $3300 a month for 35TB of outbound bandwidth. Five of the largest Lightsail instances would cost a bit over $800 and would include 35GB of traffic. I assume that you can use ...
  • 30.4k
14 votes
Accepted

How Ubuntu cloud version enforces the "no root login" over ssh?

Old question, but no one really answered you and I have had the same question: Where does this configuration come from? It originates from cloudinit, precisely in cc_ssh.py within /usr/lib/python2.7/...
14 votes

How to move files between two S3 buckets with minimum cost?

Old topic, but this is for anyone investigating the same scenario. Along with the time it took me, for 20,000+ objects. Running on AWS Linux/Centos, each object being images for the most part, along ...
14 votes
Accepted

What happens when a physical machine fails in a virtual environment?

The specifics depend on which exact virtualization solution you use, but the idea is that you have a virtual farm, where there are a number of physical hosts with several virtual machines each. You ...
  • 12.9k
14 votes

Can I re-use an EBS volume with AWS ASG?

IMO, you can try to do it like this (I do something similar but with Elastic Network Interfaces). This assumes either a knowledge of AWS CloudFormation service or AWS CLI: Create an EBS volume Create ...
  • 5,757
14 votes
Accepted

How to replace a third party AWS cloud accounts provider with bespoke account governance?

why would our internal cloud team not buy accounts straight from AWS? They probably get discounts. These large "billing consolidation providers" invoice their customers millions of dollars ...
  • 23.8k
13 votes

Why does Google recommend removing SSH keys from GCE for security?

The only possible reason I can think of is that they want to force you to regenerate new keys. As these keys were generated before you had access they may not be trusted. Removing them and restarting ...
  • 17.3k
13 votes

What happens when a physical machine fails in a virtual environment?

All virtual servers running on a physical host will go offline if the host has any sort of failure. That said, most platforms offer a high-availability solution for a single VM. Other times a system ...
  • 2,242
13 votes
Accepted

What do Virtual Private Server vs Dedicated Cloud run on?

If we are talking about hosting companies selling only Linux VPS, then in most cases they use OpenVZ/Virtuozzo for virtualization, which is not providing virtual machines but virtual containers, ...
  • 2,691
13 votes
Accepted

Do I need to backup my data hosted on cloud services?

YES Often the backups a provider makes are not accessible to their customers but only to ensure the continuity of the service the provider offers. If, for whatever reason (accident, negligence, ...
  • 72.6k
13 votes

I accidentaly enabled the UFW on my Google Cloud Computer

This answer shows two methods of solving this problem. The first method is to create a startup-script that disables UFW. The second method attaches the boot disk to another instance and modifies the ...
  • 4,289
12 votes
Accepted

Why does Google recommend removing SSH keys from GCE for security?

The critical detail is that the page you've referenced is about creating a new Compute Engine machine image. Specifically, when you create a new virtual machine image, you want to ensure it does NOT ...
  • 271
12 votes

Why do cloud compute instances spin up VMs and not containers?

There's several different approaches to containers, and the current accepted answer only seems to account for the OCI-style (docker-like) containers. There's many other types of containers, such as ...
  • 220
11 votes

What do Virtual Private Server vs Dedicated Cloud run on?

The statement that VMware gives you perfect isolation is not true at all. KVM does a better job, however isolation is about resources not about the hypervisor they use. If you share the same ...
  • 513
11 votes
Accepted

Worker Group VS Node Group EKS

The difference is that node_groups are Amazon EKS managed nodes and worker_groups are self managed nodes. Check this Github issue for more details.
  • 533
10 votes
Accepted

Extracting 200 GB ZIP file

Using a cloud service isn't going to make this faster - unless you have an incredible internet connection just uploading it will take longer than extracting it locally. And longer still to download ...
  • 17.7k
10 votes
Accepted

Can I re-use an EBS volume with AWS ASG?

No. Autoscaling groups start multiple EC2 instances. Each EBS volume can only be attached to a single EC2 instance. Therefore you shouldn't do this, and it's probably not possible. If you have ...
  • 30.4k
9 votes

issue when trying migration via Microsoft Virtual Machine Converter

You can try out StarWind V2V converter to convert your VMware VM to Hyper-V (Windows) VM. StarWind V2V does support Windows Repair (in case if the VM is Windows-based) and does have possibility to ...
  • 5,626
9 votes
Accepted

Is it safe to run do-release-upgrade on a cloud VM?

Yes I just did this to about 110 EC2 instances. I actually did it from Ubuntu 14.04 through 16.04 and up to 18.04 using an automated the process for that many instances. It turns out it is possible ...
  • 2,508
9 votes

How can I determine if it is cost-effective to move my site to cloud solution?

As a rule of thumb, using a cloud is always more expensive than using dedicated servers. As an example, for my private projects I have a fairly beefy server (metal) that costs me 40€ a month that ...
  • 191
8 votes
Accepted

S3 Static Website hosting - restricting access from IP Range

Actually, you only need to configure S3 access using bucket policy: Open you AWS S3 Console Right click your bucket and choose Properties. You will see bucket properties in right side. In the ...
8 votes

How can I determine if it is cost-effective to move my site to cloud solution?

Only one concern here when you mind about price: Public Cloud sells in terms of virtual CPUs (basically hyperthreads) with a number of different generations of CPUs. So, do not consider the: 1 on-prem ...
7 votes

Use CloudInit cloud-config file to add authorized_keys for multiple users

Looks like you can do this now #cloud-config users: - default - name: jdoe gecos: John Doe ssh-authorized-keys: - ssh-rsa ... - name: jroe gecos: Jane Roe ssh-authorized-...
7 votes
Accepted

"Quarterly round trip to populate the cloud"

The best course of action would be to ask the party that's making the proposal. We would have no idea of what they meant by that statement - they aren't using industry insider terminology that would ...
  • 108k

Only top scored, non community-wiki answers of a minimum length are eligible