Create a dev/test cloud on a box or two - amazon-ec2

So I have a similar question to Recommended setup for a "hom dev cloud"? I want to run VM's on an old desktop basically. Everything I've seen for installing EC2 eucalyptus or openstack has been on bare metal. I tried to install on ISO on a vm, but it wouldn't install to a VM. Is it possible to have test environment on one server where I can programmatically spin up vms as I would with a public cloud?
Thanks!

Since you are interested in deploying your cloud as a VM, you should also consider Apache Cloudstack. Have a look at DevCloud for a VM image.

It appears this will work for openstack http://devstack.org/guides/single-vm.html. Is there anything similar for ec2 eucalyptus?

For eucalyptus you could take a look at eucadev:
http://sigtt.in/articles/2013/11/25/introducing-eucadev/

Related

slow ubuntu 18.4 vm in openstack

I am completely new to openstack. I am having some problem. Googling about it didn't help me. I am doing a project on implementing a private cloud using Openstack.
I have deployed multinode openstack (xena) on centos 8 stream (one controller and two compute nodes).
windows vms work normally but when i installed ubuntu 18.4 vm ,it work slowly specially the graphic is so slow. any solutions please and thank you

Can Docker Desktop for Windows Point To Remote Docker Engine?

I am unable to run linux containers as I run Docker in my development vm which has visual studio installed and I have not been ablt to get it working yet as it is an unsupported scenario and many of the google solutions have unfortunately not resolved it for me.
However, I was thinking that maybe I could keep Docker Desktop running on my dev vm (so that VS would be happy it was still "local") but actually have the Docker engine/daemon bit running on a remote host where linux containers actually work - is it possible to repoint Docker Desktop for Windows to a Docker engine on a remote host?
Apologies if my terminology is rubbish, I am new to Docker. Also, I have done some searching and have seen articles and messages talking about docker machine and DOCKER_HOST environment variables, but I cannot see anything yet that applies to Docker Desktop (e.g. I don't have that env variable set on my docker windows vm so maybe it doesn't use that mechanism).
Thanks in advance

Kubernetes on Windows for Production

I just started messing with containers and managing them. Then I came across with Kubernetes. I've already installed Docker and tried out a few examples. But when it came to managing them with Kubernetes, I've kinda stuck.
I've found out that I can run Kubernetes with minikube on Windows on my laptop for development. But I want to know if I can run Kubernetes on my production server or local development environment because as they point out minikube doesn't have all featues that Kubernetes can offer. So in production I guess I can't use minikube, right?
Because of the data that I'm using I can't use Google cloud or Azure for production, laws forbid that. So in short do I have to switch to cloud to use Kubernetes or can I use it in my Windows Server machine without any cloud environment?
I've already read How to do local development with Kubernetes? question but they've also recommended minikube.
Thanks for your answers.
So in production I guess I can't use minikube, right?
Not really advisable, minikube is ment to support learning/local single machine dev tasks.
do I have to switch to cloud to use Kubernetes or can I use it in my Windows Server machine without any cloud environment?
IMHO Windows and kubernetes are not really there yet. If you don't want to install dedicated linux box or switch to cloud there is always option to run it from within virtualized environment (VirtualBox, VMWare...). Maybe not super optimal performance-wise (additional layers of virtualization added on top of windows) but can be sufficiently stable for production (depends on available hardware and resources requirements).

vagrant openshift origin how-to connect to console?

I am a openshift origin noob and I try to install it on my laptop & play with it...
On windows 7 I have installed vagrant, virtualbox and Vagrant-openshift plugin (https://github.com/openshift/vagrant-openshift)
I have created the box & is starting when I do vagrant up & I can connect using ssh to the machine
My question is what do I need to do next?
How can I connect to the web console of openshift?
Where do i need to install rhc and how? to be able to create/deploy apps?
Thank you,
Bogdan
Once installed, you can access Openshift console at https://hostname-OR-IP:8443/console
If you can't access check the status of your routes with ip route and verify that the vagrant default interface(usually eth0) is not configured as the default route.
If you are able to login in the server, you can run oc and oadm commands to create/configure apps.
i think that windows isn't a good plataform to install openshift, if you have a VM try to install CentOS 6 or fedora (or RHEL 6 if you have access to any distribution) there's a very larger amount of information to these OS than windows, or you just can install the openshift OS distribution that is supposed to do everything for you, you only have to configure the DNS server and DHCP and a few thing that scripts doesn't can do for you.
If you try to install it on one of the Linux distribution mentioned above you can just install it from the webpage or try to install from the deployment guide that is very complete: www.openshift.org/documentation/oo_deployment_guide_comprehensive.html
In my personal experience i had a very hard time with the deployment guide but it worth if you think in the knowledge and experience that you gain.
all is there, hope it weren't too late to answer you.

Using Vagrant to launch Windows on AWS

I have been learning how to use Vagrant and can successfully launch linux instances in AWS using Vagrant, but I cannot launch Windows and cannot find any resources online that help in this particular situation. I'm really looking for some more documentation and/or a better explanation of the differences since there is not very much official documentation.

Resources