Identity Google App Engine Environtment Type - google-app-engine

I just setup my first Go GAE (Google App Engine) last 2 months ago, and I forgot what environment type I've chosen (Whether Flexible or Standard edition).
Anybody here know how to identity what type of my Go GAE is ?

One way to do it is via Cloud Console. Go to "App Engine" on the left side and then click on "Versions". For which version there's a column identifying "Standard" or "Flexible".

Related

How to select Google App Engine Location

GAE recently got some updates including "organisations" which seems to have also resetted many other settings - e.g. super unclean migration.
Question: how can I select the deploy region/location for google-app-engine apps?
Unfortunately it is not anymore possible to do so as described here: How to choose Google App Engine servers' location
When I create a new project there is no "advanced" settings. If I still just "blindly" deploy (after ignoring the annoying new tutorial / quick start that is forced into ones throat) it will use europe-west as region.
In the Google Cloud Console -> Menu -> Compute -> App Engine
You should then see a box with title "Your first app", follow the steps and at some point it will prompt you to select the server location (cannot be changed later once selected). After selecting server location you don't need to continue with the Hello World app, just deploy your code as normal.
I believed something has been changed recently and there's no clear documentation yet.

How do I add my own custom domain to a Google App Engine site in 2016? [duplicate]

This question already has answers here:
How to use Google App Engine with my own naked domain (not subdomain)?
(14 answers)
Closed 6 years ago.
I have a google app engine hosted website and I want my app to have it's own custom domain. How do I go about doing that?
(I realize this question has been asked before, but I am including it again to give a more in-depth answer to the answers already given about this topic.)
Perform the following steps:
Go to the Google Cloud Platform Console
Go to App Engine -> Settings -> Custom Domains
Select Add custom domain
Verify your domain ownership according to Step 1
Select the domain you wish to use for this app in Step 2
Login to your domain management and configure the domain as described in Step 3
If you do not own a domain since before you must buy one, there is an option to do that from Google if you click "Register a new domain" instead of "Add custom domain" in step 3. But any domain registrar would work really.
To add your own custom domain, you first have to purchase a domain (there are several domain providers out there, and Google provides domains for purchase as well)
After purchasing a domain, go to your console of Google App Engine. The way I usually get there is by doing the following:
Go to console.cloud.google.com (you will be prompted to sign-in to your google account at this step if you have not already)
Click the top-left drop-down menu (products & services)
In the drop-down menu, scroll to "Compute" and select "App Engine" (this will take you to the app engine dashboard)
Go to settings (last link in the app engine menu)
Once in the settings page, select "Custom domains" (located next to application settings and SSL certificates)
Select "Add a custom domain"
Once on this page, in step 1, type in your domain that you purchased (example.com) and click "verify". This will lead you through a process that will verify that you own this domain. Google provides pretty good detailed instructions on how to do this. Note: if you own a domain that was purchased through Google that is on the same account as your google app engine account, you (usually) do not have to do this step since google will already have verified that you own this domain.
After step 1 of this process, step 2 is fairly simple. Select the type of domain you would like to add (the second option "CNAME" will already be pre-selected for you).
If using the second "CNAME" option, type in the subdomain you would like to use for your website (generally, this is going to be 'www') and select "Add". After this, configure your domain DNS by going to the console of your domain provider and adding a new CNAME type DNS address with 'www' as the host (or whatever you decided to use as your subdomain) and ghs.googlehosted.com as the DNS address (or whatever google app engine tells you to put in step 3 of the custom domains page).
If you want to add a naked domain (first option) ('A' and 'AAAA' type DNS address) as well, that's easy! Select the first bullet point option and click "Add". In step 3, you will be given the resource records that you need to add in your domain hosts DNS configuration page. Make sure you type in the IPv4 and IPv6 addresses exactly!
Your new, shiny custom domain should (hopefully) be up and running within 1 hour (48 hours max)!
Note: Verify that your naked domain and/or CNAME domain addresses were properly added to google app engine by refreshing the "custom domains" page. If you do not see the records listed, then you either forgot to click "Add" in step 2 of adding a custom domain, or there was an error. Try signing out and signing back in if this occurs.

CloudSQL Second Generation -- can't authorize application to access

I'm creating V2 beta instances and I can't add an authorized application to these instances. As you can see, the manage link doesn't even appear. How can I add an appengine application as authorized? I've had no problem with the first gen instances.
Further, clicking on Access Control, the UI to add an authorized application doesn't even appear:
This is an old question from before App Engine connectivity was supported for Second Generation instances.
Please follow the instructions here: https://cloud.google.com/sql/docs/mysql/connect-app-engine
Old answer for posterity:
App Engine connectivity is not yet available for Second Generation instances.
See the limitations noted on the following page:
https://cloud.google.com/sql/docs/introduction#v2
Please also see:
2nd generation Google cloud SQL - App Engine

Google App Engine - Extended European Offering

I would like to move my App Engine app to the EU. I signed up for the Google App Engine - Extended European Offering using a Google Docs form a long time ago but nothing happens. Has anyone gotten a word back from Google regarding this?
I don't know if you get automatically notified or not for these, but check in appengine.google.com and try to create an application. If the European offering got extended to you, you will have a choice when you create your App on where you want it hosted.
One thing that you cannot do though, is move an already created App to the EU. You need to re upload your app, make sure you use the backup & restore from datastore to keep your data, make sure you're ready to change your domain redirects, etc.

Using App Engine with a custom domain, without paying for Google Apps?

Can you use Google App Engine with your own custom domain, without paying for the whole Google Apps business package?
The setup instructions suggests this is not possible. Has anyone found a work around?
You no longer need google apps for using custom domain with GAE. you can use custom domains without signing up for Google Apps for Business.
go to https://console.developers.google.com and click on your
project and select appengine then click on settings
there you can add and verify your domain using Google Webmaster central
Once you're done verifying you're all set to go !
IF one has had a free Google Apps account prior to the December 2012 deadline, there does seem to be an easy solution to mapping a new GAE app to a newly registered domain. I happen to still have such prior account for which I do not have to pay (yet?), I believe. I suspect other long-term GAE developers are in a similar situations. So, I am adding quick instructions I found and translated from here. (There are many related threads on the topic on stackoverflow. This question seems the most relevant for adding these notes.)
Login to your existing Google Apps account
Go to "Domains" and hit "add a domain or a domain alias"
Keep "Add a domain alias of ..." selected and enter the new domain name in the field
Go through the required domain verification process
Now back on the main admin screen, hit "Google Apps" and click "add Services" (a box icon on the top right)
Under "Other Services" enter your GAE app ID
On the "Settings for " page coming up, hit "Add new URL"
Select the domain name added in Step 1+, adding a prefix such as "www" in front
Confirm and be done with it
Just done and verified. Works for me and I suspect the same procedure would work for any further domains the same way.
DISCLAIMER: Again, this is for people with a prior Google Apps account. However, it should also be relevant for people that paid for a single such account. This single account should then be sufficient to map multiple GAE apps to multiple domains, if you don't need an independent copy of the other Google apps goodies every time.
Starting June 15 and for a limited time, Google will offer a USD $50.00 App Engine credit for Google App Engine developers who have recently purchased a new Google Apps for Business domain account for their App Engine application.
To review the terms and conditions for this site and request a credit for an eligible application, please visit this site.
Here is the google groups discussion : https://groups.google.com/forum/?fromgroups#!topic/google-appengine/jC_K-YlmXhM
Quoting from the link above:
We are working on a solution that will make this process simpler for
developers and not require a paid subscription for Google Apps for
Business.
In the meantime, starting from June 15, we will offer a $50 App Engine
credit for developers who need to purchase a new Google Apps for
Business domain in order to associate a domain with an App Engine
account.
Actually there is one free solution, for people that don't have Google Apps account yet.
Go to AppEngine -> Application Settings -> Add domain -> Sign up for Google Apps
Start a free 30 day trial - Do not add the billing options
Setup your domain
Add the domain to your app engine project
When the 30 day trial expire the domain will still work.

Resources