Google cloud endpoints add nginx - google-cloud-endpoints

Can i run Nginx plugins in cloud endpoints/ESP?
I think about lua plugin to run custom functions. Is there a solution to do that?
My starting point is a custom Nginx config.

If you are deploying ESP directly using Google Compute Engine, Google Kubernetes Engine, or Kubernetes, you have access to nginx. You can add other nginx plugins if needed. However, this is an unsupported use case and Cloud Endpoints does not guarantee that the plugins will be compatible, nor does it provide support for this usage.

Related

How can I run WordPress on Google Cloud Platform Cloud Run?

According to https://cloud.google.com/wordpress/ this are the to Google Cloud Platform's hosting options for WordPress so far. But I think Cloud Run is the best option for no tech person. However in order to run WordPress in Cloud Run the application should be containerized.
Using the VM with Bitnami WordPress involves technical details and management which I don't want to deal with. On the other hand WordPress in App Engine Standard is doing a similar job like Cloud Run, but with some differences. Which one is better: WordPress on App Engine vs. WordPress on Cloud Run? If cloud run is much better. How?
This was asked before: How to run WordPress on Google Cloud Run?
Also check out:
https://medium.com/#salvopappalardo/how-to-install-a-wordpress-site-on-google-cloud-run-828bdc0d0e96
https://github.com/acadevmy/cloud-run-
https://github.com/xantrix/cloud-run-wordpress
For a non tech person, I'd suggest Googles Firebase hosting which uses the same containerized technology in the background, but is a service managed by Google similar to other hosting providers.

Google stackdriver database agent for OracleDB?

We know that Google's stackdriver supports monitroing for third-party applications like postgresql, mysql, couchdb and others mentioned here. They have also defined the service configuration files for the monitoring agent here.
As per my understanding, I think they somehow use collectd's third-party plugins somewhere in this. Also, since there exists a plugin for Oracle, stackdriver should support that too. But I can't see Oracle in the list of supported third-party applications. So, does stackdriver support it or not?
The Stackdriver monitoring agent package does not bundle the oracle plugin, so it's not supported. You may be able to write a shell script (invoked via the exec plugin) or a Python script (invoked via the python plugin) to query your database, and the custom metrics mechanism to ingest metrics.
You could also try BindPlane from our partner, Blue Medora.
Disclaimer: I'm an engineer on the Stackdriver team.

Can I insall multiple wordpress setups in AWS ElasticBeanstalk on single EC2 T1.micro instance?

I'm new to AWS and cloud computing in general. I want to create my own server where i can run the website of my clients using AWS ElasticBeanstalk and AWS EC2 instance. I have gone through the documents of AWS but it described single wordpress setup. I dont want to run WP Multisite, i want to make all the websites on standalone wordpress setup. The reason behind choosing AWS EB is it allows easy ssl setup for all the domain hosted on the server. I have no idea how to do it. any help would be appreciated. Please guide me and also correct me if i am wrong with my question
Thank you
You probably could (with enough configuration) get ElasticBeanstalk to support multiple WordPress setups, but EB is really designed for a single application per instance. Also, a t1.micro instance is pretty small, so you might not have enough computing resources to run multiple WP setups on the instance anyway.
If the only reason you're investigating ElasticBeanstalk is for easy SSL setup, then I think you're making things unnecessarily complicated. One of things that EB is setting up for you is an Elastic Load Balancer, which can be easily configured to support SSL no matter what kind of instances are behind the load balancer.
I'd suggest you look into using a regular EC2 instance (probably bigger than a t1.micro) and putting an ELB in front of it.

google cloud and wordpress

I have just started playing with Google cloud. I used to work on normal servers so I need advice.
I created my first instance and deployed Wordpress. I installed woocommerce plugin. The shop is quite fast and I am happy (with the lowest settings) but now:
I wanted edit function.php but I can't. The attributes are read only so How can I change it?
How to get access to my all files I can't see them in storage cloud. How to set up ftp?
What about database for my shop? I understand I can create new data base but where to access to current data base of my wordpress.
What should I deploy more to work comfortable with my wordpress?
About ssl
SNI SSL certificate slots are offered for no additional charge for
accounts that have billing activated. Free accounts are limited to 5
certificates.
I have no experience with ssl but I plan run shop so what it means. Free certificates for 5 instances or 5 deployement ? How many certificates do I need to run one shop?
I know there are many questions but I wanted to go further and all advise on internet is outdated because are for older versions of google cloud. Please help me to understand this all.
I assume you're attempting to use WordPress on Google App Engine.
GAE has no real filesystem, so you cannot write to it (unless you juggle with the API GAE offers). Editing happens locally using the GAE SDK development server and you deploy your changes to the App Engine ecosystem using the SDK interface (GUI or CLI). All application writes should go to Google Cloud Storage (which is similar to Amazon S3 and the like).
I'm not certain whether the Google Cloud Storage can be accessed via traditional FTP. There might be some middleware required. You can see and browse the contents of your buckets in the developer project console (https://console.developers.google.com/).
The databases are on a separate "server" when using GAE. MySQL instances are spawned into the Google Cloud SQL ecosystem, which are available for App Engine and Compute Engine instances (and why not other places too). You can define the GCSQL address and port to wp-config.php like normally. You need to create a local MySQL database for your local installation. More: https://cloud.google.com/appengine/docs/php/cloud-sql/
When working with Google App Engine you should deploy the whole WordPress installation (wp-config.php, wp-includes/, wp-admin/, wp-content/, etc.) in order for it to work in the GAE system. For a "better" deployment system you should do some searching or ask a new question dedicated for that issue.
The certificates themselves on GAE are not free, but the "slots" you put the certificates into are. Free projects (no billing enabled) offer 5 free slots where you can put your purchased certificates. SSL SNI means that you can use multiple different domain/host certificates under a single listening IP address (which some years back was not that simple to do). What this all means that GCP offers a way to use certificates with their services, but you still need to get the certificates themselves elsewhere.
Have you seen the GAE starter project offered by Google: https://googlecloudplatform.github.io/appengine-php-wordpress-starter-project/ ? It makes your live a bit easier when developing WP sites for Google App Engine.
If you're working with Google Compute Engine instances, then they should operate just like regular VPS machines, with some Google restrictions applied. I have not used them so I do not know the specifics.

Is there any solution for make my own Meteor cloud server?

meteor deploy myapp.meteor.com
When I run this command line, my meteor app upload to meteor cloud server.
Is there any solution or repository for make my own meteor cloud server?
meteor deploy mycloud.server.com myapp.mydomain.com
I know I can use my own domain use this command.
meteor deploy myapp.mydomain.com
But I want to make my own cloud service like meteor do.
I know https://github.com/arunoda/meteor-up. But this is single service solution.
This is not for one or more server (clustered server) with many services.
If there are no solution for this, I'll make this solutions.
For now galaxy is still not released, this one should do exactly what you are looking for i.e. using deploy on your own server.
An alternative might be modulus.io but it is still not the easy deployment we would like.
The simplest I found yet is still using meteor-up. You can use it for deploying on several server too. The point is meteor-up expect to have a running ubuntu (or debian), and you deploy to those machines. You still need to setup an oplog for mongodb and a high availability proxy (with sticky session) to forward on the right virtual machines….
If only the performances matter, you can build micro services and integrated them through a service discovery as provided through meteorhacks:cluster, as this will help load balance your app it does not (yet?) provide a way to route the client according to the domain name (meaning you still need a reverse proxy for accessing the right service discovery from a domain) Also this packages does not provide any way to deploy you app, this is just a convenient way to help manage and scale your service.
If you need a reliable solution right now, docking meteor, deploying it on clusters and managing them, I would strongly advise looking at: https://bulletproofmeteor.com It is a very good source for building reliable meteor app with high availability. Note that all the chapters are not free, but there is a whole chapter covering "Deploying Meteor Apps into a Kubernetes Cluster" which goes step by step on the process of setting up your server(s) for running your meteor app in a PaaS way.

Resources