14

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?

Waku-2
  • 1,136
  • 2
  • 13
  • 26
  • 1
    I was on that path a couple months ago, as other people already suggested Cloud Pub/Sub is the most similar option here, take a look at this project where I switch from AWS queus to GCP. https://github.com/oscarnevarezleal/ecommerce-crawler – Oscar Nevarez Oct 05 '18 at 04:00

3 Answers3

5

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.

Tom
  • 1,660
  • 8
  • 16
  • Howdy Tom ... by any chance did you confuse AWS SNS with AWS SQS? I did at first. – Kolban Oct 05 '18 at 14:06
  • 1
    No, it wasn't clear to me if the OP is interested in the publish-subscribe functionality of SNS or the SMS notification part of SNS. Cloud Pub/Sub satisfies the publish-subscribe part, but if the OP is interested in sending SMS messages, a custom built solution is needed. – Tom Jun 11 '19 at 05:54
1

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:

Kolban
  • 13,794
  • 3
  • 38
  • 60
  • This is correct, GCP does not have SMS functionality yet. You can review Firebase Cloud Messaging [https://firebase.google.com/products/cloud-messaging] which covers a few of the other gaps in SNS. – Ariv Oct 11 '18 at 00:24
  • 3
    Amazon SNS is a publish/subscriber system. It has nothing to do with SMS or text service – jl1990 Oct 14 '20 at 17:21
0

GCP has recently launched a service which allows you to send SMS (session based or session less) But, for pricing and activation, you have to contact their support team.

These APIs are part of a broader product they launched (Cloud Contact Center .

Hope that helps!

ANKUR BANSAL
  • 11
  • 1
  • 1