Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS SNS equivalent in GCP stack

So we spent almost 6 months in moving our current app stack from AWS to GCP and now we got stuck at the AWS-SNS part.

Apparently there seems to be no service in GCP stack that can simply provide a drop in replacement for SNS or did I miss something?

Right now everything is running perfectly fine on GCP and every call to SNS in the app is still using the old AWS account.

SNS is being used primarily to notify events occurring in the app like "batch completed successfully" or "export failed with xyz error".

What are our options here?

like image 328
Waku-2 Avatar asked Oct 05 '18 02:10

Waku-2


2 Answers

The closest SNS replacement in GCP is probably Cloud Pub/Sub, which provides a similar publish-subscribe messaging pattern.

This document shows how the topics and subscriptions work.

like image 181
Tom Avatar answered Oct 13 '22 20:10

Tom


At present, GCP does not have a native / proprietary email or text message service. Instead, the recommendation is to use sendgrid for emails and twilio for messages. See the following articles that describe the usage of these services:

  • https://cloud.google.com/appengine/docs/standard/php/sms/twilio
  • https://cloud.google.com/appengine/docs/standard/php/mail/sendgrid
like image 29
Kolban Avatar answered Oct 13 '22 20:10

Kolban