google-app-engine


How can I run f1-micro instances on App Engine Flexible as of May 2017?


I know there are many such questions asked, but App Engine tends to have changed between each time I set up a new project, often without proper documentation.
Earlier, during the (vm: true)-times, I used to run f1-micro instances with the following setting, that is no longer accepted:
beta_settings:
machine_type: f1-micro
Answers, such as this one, suggests that it was possible to achieve the same through the resources-setting earlier.
But when I try this now (with 0.18 on memory_gb), I get the following error message:
Error creating Deployment Manager deployment, status: 1, error: Memory GB (0.58) per VCPUs must be between 0.90 and 6.50.
I have to increase the memory option to around 0.5 to actually get it to deploy. Earlier I would then go to look at the Compute Engine resources to check which machine type was actually running. But the App Engine Flexible instances seems to have been removed from that view. I can't find this information anywhere in the online console. The closest thing I got was enabling Debug-mode on the instance, SSH-ing into it, and running:
curl --header "Metadata-Flavor:Google" http://metadata.google.internal/computeMetadata/v1/instance/machine-type
And I get the result:
projects/349377138382/machineTypes/custom-1-1024
..indicating that it's a custom machine type running. I have plenty of small services running, and feel I have no transparency about what resources I am using. At times I wonder if it's made this way on purpose, to force people into spending more than necessary.
Am I blind here, or are there any neat tricks to get the advertised machine types running, and to verify that visually through the tools provided?
App Engine flexible currently only supports custom machine types based on the resource declaration in app.yaml. As you've seen there are some limitations on the range of valid resources. There's no 'trick' to force a specific machine type.
Regards,
Zach

Related Links

BadValueError('Property %s must be a float' % self.name) BadValueError: Property USD must be a float
HttpError 400 in jobs.get(jobId,ProjectId) even with right values
GAE - creating an app issue
Is NDB model _post_delete_hook called after transaction? OR Best way to clean a blob from the blobstore when its referencing entity is deleted
If verify Google user logged in
Moving HTML files to their own directory in Google App Engine (Using Jinja2 Templates) - Error 13
AppEngine local unit testing guide for Python 2.7 Runtime
No persistence providers available for “transactions-optional”
List Children of null parent?
provisioning_oauth_example in gdata-python: 2-legged and 3-legged errors
GWT Compile everytime I deploy to Appengine
How to get free domain names for GWT APP?
Reduce the size of Google app engine Datastore Stored Data
Google App Engine Datastore / NoSQL example with ancestor queries
Form with file only uploads filename
How to save a stream on google drive?

Categories

HOME
httparty
nvd3.js
flex
youtube-data-api-v3
jelastic
xbee
big-o
tail
echo
pearson-correlation
nuget-package
joomla3.0
pattern-matching
mql5
magnetic-cards
chargify
easyphp
xmonad
soci
mapstruct
sar
lilypond
breadth-first-search
named-entity-recognition
pchart
opentk
angular-translate
bringtofront
iis-express
carrierwave
livelink
left-join
linkedhashmap
github3.py
instantiation
yowsup
reactivekit
resolution
magento-1.9.3
print-css
importerror
wc
uiimage
phpdbg
textsum
spring-integration-sftp
globalize
rserve
zenhub
arules
libjpeg
pybrain
shinobi
swingworker
sandcastle
polyline
usart
custom-lists
seek
async.js
vulcanize
google-query-language
tracker-enabled-dbcontext
lz77
piracy-prevention
concept-insights
jnlua
gocql
django-urls
fuelcms
rubaxa-sortable
linked-tables
botan
bufferedinputstream
ghcjs
sql-scripts
linkedin-jsapi
universal-image-loader
lambda-architecture
build-script
matrix-inverse
gnumeric
spring-remoting
drupal-nodes
mongohq
cnf
joomla-template
fb.ui
robotlegs
extreme-programming
monotouch.dialog
iboutlet
thttpd
apache-commons-dbutils
gobject-introspection
procedures
google-floodlight
xui
msr
rowlex
folding
lxr
software-lifecycle
change-management

Resources

Encrypt Message