How to run Minikube on Windows EC2 Instance?
I am trying to install and run Minikube (or some kind of local Kubernetes) on an AWS EC2 instance of Windows 2016. I have seen multiple tutorials on how to do this with an Ubuntu instance, but wasn't sure if anyone has had success using nested VM's on EC2 Windows. Any guidance you can provide would be greatly appreciated!
windows amazon-ec2 kubernetes minikube
add a comment |
I am trying to install and run Minikube (or some kind of local Kubernetes) on an AWS EC2 instance of Windows 2016. I have seen multiple tutorials on how to do this with an Ubuntu instance, but wasn't sure if anyone has had success using nested VM's on EC2 Windows. Any guidance you can provide would be greatly appreciated!
windows amazon-ec2 kubernetes minikube
add a comment |
I am trying to install and run Minikube (or some kind of local Kubernetes) on an AWS EC2 instance of Windows 2016. I have seen multiple tutorials on how to do this with an Ubuntu instance, but wasn't sure if anyone has had success using nested VM's on EC2 Windows. Any guidance you can provide would be greatly appreciated!
windows amazon-ec2 kubernetes minikube
I am trying to install and run Minikube (or some kind of local Kubernetes) on an AWS EC2 instance of Windows 2016. I have seen multiple tutorials on how to do this with an Ubuntu instance, but wasn't sure if anyone has had success using nested VM's on EC2 Windows. Any guidance you can provide would be greatly appreciated!
windows amazon-ec2 kubernetes minikube
windows amazon-ec2 kubernetes minikube
asked Nov 20 '18 at 17:44


TyTerasumaTyTerasuma
133
133
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
EC2 instances don't support nested virtualization as some GCP or Azure instances do. (As of this writing)
Short answer, is that it won't work with regular instances. However, you can use a bare metal instance (i3.metal, and they are a bit costly).
I expect that AWS will create more bare metal offerings in the future and at some point offer nested virtualization on other types of instances.
add a comment |
As @Rico mentions you will not be able to do that on EC2. I was thinking about some solutions for you, but to be honest other than joining Windows Node to a Linux-master there is not much of other options in your scenario. It would be easier in reverse situation but you already mentioned that - minikube on Ubuntu (with --vm-driver=none) but unfortunately on Windows there is no such option, due to a reasons already mentioned. Also using a i3.metal for minikube could be a little bit of an overkill. But I guess if I am not able to think of an scenario in which that would be required it does not mean there is none.
Please note that you can't do that in GCP as well, as the documentation states that nested virtualization does not work on Windows instances:
Nested virtualization is only supported for KVM-based hypervisors
running on Linux instances. ESX and Xen hypervisors are not supported.
Azure on the other hand has some articles about using nested virtualization when the hostOS and guestOS is Hyper-V. You can read about it here or here. Unfortunately I do not have Azure account to test it.
But for your question, you will not be able to use minikube on Windows Server EC2 instance.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53398650%2fhow-to-run-minikube-on-windows-ec2-instance%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
EC2 instances don't support nested virtualization as some GCP or Azure instances do. (As of this writing)
Short answer, is that it won't work with regular instances. However, you can use a bare metal instance (i3.metal, and they are a bit costly).
I expect that AWS will create more bare metal offerings in the future and at some point offer nested virtualization on other types of instances.
add a comment |
EC2 instances don't support nested virtualization as some GCP or Azure instances do. (As of this writing)
Short answer, is that it won't work with regular instances. However, you can use a bare metal instance (i3.metal, and they are a bit costly).
I expect that AWS will create more bare metal offerings in the future and at some point offer nested virtualization on other types of instances.
add a comment |
EC2 instances don't support nested virtualization as some GCP or Azure instances do. (As of this writing)
Short answer, is that it won't work with regular instances. However, you can use a bare metal instance (i3.metal, and they are a bit costly).
I expect that AWS will create more bare metal offerings in the future and at some point offer nested virtualization on other types of instances.
EC2 instances don't support nested virtualization as some GCP or Azure instances do. (As of this writing)
Short answer, is that it won't work with regular instances. However, you can use a bare metal instance (i3.metal, and they are a bit costly).
I expect that AWS will create more bare metal offerings in the future and at some point offer nested virtualization on other types of instances.
answered Nov 20 '18 at 18:11
RicoRico
27.5k94865
27.5k94865
add a comment |
add a comment |
As @Rico mentions you will not be able to do that on EC2. I was thinking about some solutions for you, but to be honest other than joining Windows Node to a Linux-master there is not much of other options in your scenario. It would be easier in reverse situation but you already mentioned that - minikube on Ubuntu (with --vm-driver=none) but unfortunately on Windows there is no such option, due to a reasons already mentioned. Also using a i3.metal for minikube could be a little bit of an overkill. But I guess if I am not able to think of an scenario in which that would be required it does not mean there is none.
Please note that you can't do that in GCP as well, as the documentation states that nested virtualization does not work on Windows instances:
Nested virtualization is only supported for KVM-based hypervisors
running on Linux instances. ESX and Xen hypervisors are not supported.
Azure on the other hand has some articles about using nested virtualization when the hostOS and guestOS is Hyper-V. You can read about it here or here. Unfortunately I do not have Azure account to test it.
But for your question, you will not be able to use minikube on Windows Server EC2 instance.
add a comment |
As @Rico mentions you will not be able to do that on EC2. I was thinking about some solutions for you, but to be honest other than joining Windows Node to a Linux-master there is not much of other options in your scenario. It would be easier in reverse situation but you already mentioned that - minikube on Ubuntu (with --vm-driver=none) but unfortunately on Windows there is no such option, due to a reasons already mentioned. Also using a i3.metal for minikube could be a little bit of an overkill. But I guess if I am not able to think of an scenario in which that would be required it does not mean there is none.
Please note that you can't do that in GCP as well, as the documentation states that nested virtualization does not work on Windows instances:
Nested virtualization is only supported for KVM-based hypervisors
running on Linux instances. ESX and Xen hypervisors are not supported.
Azure on the other hand has some articles about using nested virtualization when the hostOS and guestOS is Hyper-V. You can read about it here or here. Unfortunately I do not have Azure account to test it.
But for your question, you will not be able to use minikube on Windows Server EC2 instance.
add a comment |
As @Rico mentions you will not be able to do that on EC2. I was thinking about some solutions for you, but to be honest other than joining Windows Node to a Linux-master there is not much of other options in your scenario. It would be easier in reverse situation but you already mentioned that - minikube on Ubuntu (with --vm-driver=none) but unfortunately on Windows there is no such option, due to a reasons already mentioned. Also using a i3.metal for minikube could be a little bit of an overkill. But I guess if I am not able to think of an scenario in which that would be required it does not mean there is none.
Please note that you can't do that in GCP as well, as the documentation states that nested virtualization does not work on Windows instances:
Nested virtualization is only supported for KVM-based hypervisors
running on Linux instances. ESX and Xen hypervisors are not supported.
Azure on the other hand has some articles about using nested virtualization when the hostOS and guestOS is Hyper-V. You can read about it here or here. Unfortunately I do not have Azure account to test it.
But for your question, you will not be able to use minikube on Windows Server EC2 instance.
As @Rico mentions you will not be able to do that on EC2. I was thinking about some solutions for you, but to be honest other than joining Windows Node to a Linux-master there is not much of other options in your scenario. It would be easier in reverse situation but you already mentioned that - minikube on Ubuntu (with --vm-driver=none) but unfortunately on Windows there is no such option, due to a reasons already mentioned. Also using a i3.metal for minikube could be a little bit of an overkill. But I guess if I am not able to think of an scenario in which that would be required it does not mean there is none.
Please note that you can't do that in GCP as well, as the documentation states that nested virtualization does not work on Windows instances:
Nested virtualization is only supported for KVM-based hypervisors
running on Linux instances. ESX and Xen hypervisors are not supported.
Azure on the other hand has some articles about using nested virtualization when the hostOS and guestOS is Hyper-V. You can read about it here or here. Unfortunately I do not have Azure account to test it.
But for your question, you will not be able to use minikube on Windows Server EC2 instance.
answered Nov 21 '18 at 16:10


aureliusaurelius
1,129314
1,129314
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53398650%2fhow-to-run-minikube-on-windows-ec2-instance%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown