Google Cloud Platform: Connect domain to VM with SSL enabled to run shiny app
I'm struggling. Today I'm struggling with Google Cloud Platform (GCP) and Shiny:
- I managed to get my Shiny-App created with R-Studio on GCP to run on Shiny-Server on GCP
- I can access the shiny-app through a static external IP that I have created in GCP > VPC Network > External IP addresses by accessing http(s)://myexternalip:3838/name_of_my_shiny_app/
So far so good.
Now I want to route my (sub-)domain to this App with SSL enabled
What I did:
- Created custom domains via GCP > App Engine > Settings > Custom domains and added the domain (with TXT google site verification)
- I followed the App Engine tutorial and created the "hello world"-App. The "hello world"-App is accessible via my domain. So that is pretty awesome.
What I cant figure out (for the life of me):
- I have custom domain pointing to my hello world App
- I have Shiny-App running on VM
-> How to I route incoming traffic from the domain to the Shiny-App?
I have been clicking wildly on things like VPC Routing, Load balancing and cloud DNS, googled a lot and am no wiser than before, maybe even less.
I am thinking that if I could put the Shiny App into a docker and hook it up as a App Engine App that I might succeed, but that seems like a bad workaround for a quite simple problem...
I have also read Google Cloud Platform - Compute Engine/App Engine - SSL/HTTPS and think that this might be the right path. But quite frankly I have a hard time understanding the answers... Also a load-balancer seems like something that one would use if one had any real load... I'm hesitating to introduce an additional layer of complexity at this point...
As you might notice, I am struggling here and have hardly an idea what I am doing. So please be fair and talk slowly ;)
And as always thanks a bunch in advance, guys!
Chris
dns google-cloud-platform google-compute-engine load-balancing
add a comment |
I'm struggling. Today I'm struggling with Google Cloud Platform (GCP) and Shiny:
- I managed to get my Shiny-App created with R-Studio on GCP to run on Shiny-Server on GCP
- I can access the shiny-app through a static external IP that I have created in GCP > VPC Network > External IP addresses by accessing http(s)://myexternalip:3838/name_of_my_shiny_app/
So far so good.
Now I want to route my (sub-)domain to this App with SSL enabled
What I did:
- Created custom domains via GCP > App Engine > Settings > Custom domains and added the domain (with TXT google site verification)
- I followed the App Engine tutorial and created the "hello world"-App. The "hello world"-App is accessible via my domain. So that is pretty awesome.
What I cant figure out (for the life of me):
- I have custom domain pointing to my hello world App
- I have Shiny-App running on VM
-> How to I route incoming traffic from the domain to the Shiny-App?
I have been clicking wildly on things like VPC Routing, Load balancing and cloud DNS, googled a lot and am no wiser than before, maybe even less.
I am thinking that if I could put the Shiny App into a docker and hook it up as a App Engine App that I might succeed, but that seems like a bad workaround for a quite simple problem...
I have also read Google Cloud Platform - Compute Engine/App Engine - SSL/HTTPS and think that this might be the right path. But quite frankly I have a hard time understanding the answers... Also a load-balancer seems like something that one would use if one had any real load... I'm hesitating to introduce an additional layer of complexity at this point...
As you might notice, I am struggling here and have hardly an idea what I am doing. So please be fair and talk slowly ;)
And as always thanks a bunch in advance, guys!
Chris
dns google-cloud-platform google-compute-engine load-balancing
Do you just want a subdomain to point to a compute engine instance?
– Vincent
Nov 28 '18 at 23:22
add a comment |
I'm struggling. Today I'm struggling with Google Cloud Platform (GCP) and Shiny:
- I managed to get my Shiny-App created with R-Studio on GCP to run on Shiny-Server on GCP
- I can access the shiny-app through a static external IP that I have created in GCP > VPC Network > External IP addresses by accessing http(s)://myexternalip:3838/name_of_my_shiny_app/
So far so good.
Now I want to route my (sub-)domain to this App with SSL enabled
What I did:
- Created custom domains via GCP > App Engine > Settings > Custom domains and added the domain (with TXT google site verification)
- I followed the App Engine tutorial and created the "hello world"-App. The "hello world"-App is accessible via my domain. So that is pretty awesome.
What I cant figure out (for the life of me):
- I have custom domain pointing to my hello world App
- I have Shiny-App running on VM
-> How to I route incoming traffic from the domain to the Shiny-App?
I have been clicking wildly on things like VPC Routing, Load balancing and cloud DNS, googled a lot and am no wiser than before, maybe even less.
I am thinking that if I could put the Shiny App into a docker and hook it up as a App Engine App that I might succeed, but that seems like a bad workaround for a quite simple problem...
I have also read Google Cloud Platform - Compute Engine/App Engine - SSL/HTTPS and think that this might be the right path. But quite frankly I have a hard time understanding the answers... Also a load-balancer seems like something that one would use if one had any real load... I'm hesitating to introduce an additional layer of complexity at this point...
As you might notice, I am struggling here and have hardly an idea what I am doing. So please be fair and talk slowly ;)
And as always thanks a bunch in advance, guys!
Chris
dns google-cloud-platform google-compute-engine load-balancing
I'm struggling. Today I'm struggling with Google Cloud Platform (GCP) and Shiny:
- I managed to get my Shiny-App created with R-Studio on GCP to run on Shiny-Server on GCP
- I can access the shiny-app through a static external IP that I have created in GCP > VPC Network > External IP addresses by accessing http(s)://myexternalip:3838/name_of_my_shiny_app/
So far so good.
Now I want to route my (sub-)domain to this App with SSL enabled
What I did:
- Created custom domains via GCP > App Engine > Settings > Custom domains and added the domain (with TXT google site verification)
- I followed the App Engine tutorial and created the "hello world"-App. The "hello world"-App is accessible via my domain. So that is pretty awesome.
What I cant figure out (for the life of me):
- I have custom domain pointing to my hello world App
- I have Shiny-App running on VM
-> How to I route incoming traffic from the domain to the Shiny-App?
I have been clicking wildly on things like VPC Routing, Load balancing and cloud DNS, googled a lot and am no wiser than before, maybe even less.
I am thinking that if I could put the Shiny App into a docker and hook it up as a App Engine App that I might succeed, but that seems like a bad workaround for a quite simple problem...
I have also read Google Cloud Platform - Compute Engine/App Engine - SSL/HTTPS and think that this might be the right path. But quite frankly I have a hard time understanding the answers... Also a load-balancer seems like something that one would use if one had any real load... I'm hesitating to introduce an additional layer of complexity at this point...
As you might notice, I am struggling here and have hardly an idea what I am doing. So please be fair and talk slowly ;)
And as always thanks a bunch in advance, guys!
Chris
dns google-cloud-platform google-compute-engine load-balancing
dns google-cloud-platform google-compute-engine load-balancing
edited Nov 26 '18 at 22:28
Maxim
1,563211
1,563211
asked Nov 26 '18 at 10:20
WirsingWirsing
2,62131113
2,62131113
Do you just want a subdomain to point to a compute engine instance?
– Vincent
Nov 28 '18 at 23:22
add a comment |
Do you just want a subdomain to point to a compute engine instance?
– Vincent
Nov 28 '18 at 23:22
Do you just want a subdomain to point to a compute engine instance?
– Vincent
Nov 28 '18 at 23:22
Do you just want a subdomain to point to a compute engine instance?
– Vincent
Nov 28 '18 at 23:22
add a comment |
1 Answer
1
active
oldest
votes
There is a particular documentation in Google Cloud to Secure Custom Domains with SSL without the need to create and configure a Load-Balancer in front.
It state: "HTTPS connections on your custom domain will be enabled automatically using managed SSL certificates. Once your custom domain is mapped to your application and you have configured your DNS records, App Engine provisions a managed SSL certificate". More details here.
add a comment |
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%2f53478999%2fgoogle-cloud-platform-connect-domain-to-vm-with-ssl-enabled-to-run-shiny-app%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
There is a particular documentation in Google Cloud to Secure Custom Domains with SSL without the need to create and configure a Load-Balancer in front.
It state: "HTTPS connections on your custom domain will be enabled automatically using managed SSL certificates. Once your custom domain is mapped to your application and you have configured your DNS records, App Engine provisions a managed SSL certificate". More details here.
add a comment |
There is a particular documentation in Google Cloud to Secure Custom Domains with SSL without the need to create and configure a Load-Balancer in front.
It state: "HTTPS connections on your custom domain will be enabled automatically using managed SSL certificates. Once your custom domain is mapped to your application and you have configured your DNS records, App Engine provisions a managed SSL certificate". More details here.
add a comment |
There is a particular documentation in Google Cloud to Secure Custom Domains with SSL without the need to create and configure a Load-Balancer in front.
It state: "HTTPS connections on your custom domain will be enabled automatically using managed SSL certificates. Once your custom domain is mapped to your application and you have configured your DNS records, App Engine provisions a managed SSL certificate". More details here.
There is a particular documentation in Google Cloud to Secure Custom Domains with SSL without the need to create and configure a Load-Balancer in front.
It state: "HTTPS connections on your custom domain will be enabled automatically using managed SSL certificates. Once your custom domain is mapped to your application and you have configured your DNS records, App Engine provisions a managed SSL certificate". More details here.
answered Mar 20 at 15:50
AlbertoVIAlbertoVI
416
416
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%2f53478999%2fgoogle-cloud-platform-connect-domain-to-vm-with-ssl-enabled-to-run-shiny-app%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
Do you just want a subdomain to point to a compute engine instance?
– Vincent
Nov 28 '18 at 23:22