Using Amazon SDK on Google App Engine - google-app-engine

We are using amazon sdk for sns push notifications. We deployed our app on Google App engine. While using amazon sdk we are getting following exception
Could not initialize class com.amazonaws.ClientConfiguration
at com.amazonaws.services.sns.AmazonSNSClient.<init>(AmazonSNSClient.java:128)
Looks like is it because of Sockets/Threads using by Amazon SDK.
Is there anyway to use amazon sdk on google app engine application.

Which App Engine environment are you using? (standard or flex). App Engine standard may require the use of the Sockets API or UrlFetch for outbound connections, which won't always work with open source libraries (today).
One option here is to deploy your app to App Engine Flexible, which won't have the same requirements.

Related

Using Elixir on Google Cloud Platform

Does anyone know if it's possible to use Elixir on Google Cloud Platform? Specifically I'd like to know how to deploy an app to App Engine, and how to access the Cloud Storage API.
No custom runtime required any more. Elixir is supported natively on Google Cloud Platform: https://cloud.google.com/elixir/
Quickstart dock: https://cloud.google.com/community/tutorials/elixir-phoenix-on-google-app-engine/
Check this community-tutorial on how to
Create an OTP release for your app using Distillery
Wrap your app release in a Docker image
Deploy your app on Google Kubernetes Engine
Phoenix/Elixir on Google Cloud
Accessing the Cloud Storage API is preferably done via JSON nowadays. Without more information I provide more customized information; see the Google Cloud Storage JSON API for more info.
Use a custom runtime in the App Engine flexible environment to use an
alternative implementation of Java, Python, Node.js, or Go, or write
code in any other language.
Source: https://cloud.google.com/appengine/docs/flexible/custom-runtimes/
Config application for Google App Engine. See https://cloud.google.com/appengine/docs/flexible/custom-runtimes/
Use Dockerfile for Elixir (https://elixir-lang.org/), pick one of these:
https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=elixir&starCount=0
Deploy Dockerfile to Google App engine.
Use Google Cloud Storage JSON API to interactive with Google Cloud storage service by Elixir code via JSON:
https://cloud.google.com/storage/docs/json_api/

can i upload a web app programmed with google app engine on aws amazon?

Hello i want to know can i upload a web app programmed with python on google app engine on a host but not the host of google app engine i have heard about hosts like A W S amazon can i upload my web app on it ?
and also can i upload it on an ordinary host like go daddy ?
i have tried to read but i didn't found a useful information
now i am using this method to upload my file to google app engine cloud
google_appengine/appcfg.py update apps/appname
note i am on linux and can i use this method to upload it to amazon ?
Thank you
From the Appscale docs: AppScale is a platform that allows users to deploy and host their own Google App Engine applications. It executes automatically over Amazon EC2, Rackspace, Google Compute Engine, Eucalyptus, Openstack, CloudStack, as well as KVM and VirtualBox. It has been developed and is maintained by AppScale Systems, Inc., in Santa Barbara. It supports the Python, Java, Go, and PHP Google App Engine platforms.
More:
https://github.com/AppScale/appscale/wiki
List http://www.appscale.com/

Google App Engine's Web Application server and Apache Tomcat

I read this sentence in google resources for GAE : "Google App Engine has it's own Web Application Server for simulating in desktop environment", so, my question is: Can I deploy Google App Engine apps (in .war format) on TomCat?
Thanks for any help!
the short answer is: it depends
according to the app engine doc:
App Engine Java applications use the Java Servlet standard for
interacting with the web server environment.
so for a simple servlet app, it can be run on tomcat
but
The App Engine runtime environment imposes some constraints to ensure
that your app can be scaled to multiple instances on App Engine's
distributed infrastructure
if you have used apis from app engine such as UserService, or Datastore then you are not able to run it on tomcat. in this case, you can use the development web server from app engine sdk for dev and test purpose.

How can I integrate open source Apis on my website hosted by Google App Engine?

I'm making a cloud system and I want to integrate some open source APIs like Writer,Image Viewer etc..
I'm using GWT framework and Google App Engine as a host server
I know that my Apis must be in Python or Java which Google app Engine platform support so I searched for one of them and found API called
Zoho Writer
If what you're looking for is access to Google's public APIs, and you're using Eclipse with Google Plugin for Eclipse, then you have a button that brings up a list of all Google APIs that have GWT interfaces, and allows you to install the client library for each.
See here: https://developers.google.com/eclipse/docs/googleapis

Executable from Google App Engine project

Is it possible to create an executable file from a Google App engine project in Python?
Well... no. But there are open-source projects available that allow you to run your App Engine application locally, and that attempt to be compatible with Google's App Engine API.
For example, check out typhoonae:
http://code.google.com/p/typhoonae/
You could develop your application using the Google SDK, and then deploy it on a local machine using the TyphoonAE app server.

Resources