Search code examples
amazon-web-servicesamazon-ec2push-notificationapple-push-notifications

Deploy APNS and GCM Services on Amazon AWS


I have requirement to migrate all website content, web-services, database and push notification services (Apple and Google) to Amazon AWS.

I am very much new with this, right now i have hosted all services on "GoDaddy" server - I have checked Amazon document for configuration - still I have few query regarding Push Notification.

Question: We have developed Apple and Google Push Notification services (in php), now we are planning to migrate to Amazon AWS and my query is

  • Do we need to use Amazon SNS service to add push notification support?
  • Is Amazon SNS use is mandatory?
  • Can we just deploy current push notification services (developed in php) to Amazon AWS server and send push notification?

Any pointer or help on this would be greatly appreciated.

Thank You.


Solution

  • Given that you already have the majority of your app's core functionality running fine, you can move that to AWS EC2 directly. I guess there would be direct calls to the Apple & Google Push API calls. You can do this in the interest of the faster migration process.

    But however you can modify your existing logic to use Amazon-SNS and leverage your app for say further expansion like Windows Push, Andorid Push with Baidu etc. with very less impact on your code / app.

    Also by making Amazon-SNS do the push messages on your behalf, you are making your app a non-monolithic and going forward it would be helping you to be in the direct of scaling out more instances as well.