Search code examples
amazon-web-serviceswebserver

Is it hard to deploy a cloud server?


Sorry I'm new to web server. I want to deploy a cloud server for user data:

  1. User can login using web, with verification code sent to user's phone.
  2. User can manipulate his data (add/modify/remove) when login.
  3. Android/iPhone client can manipulate user data when login.
  4. Server should have a database for storage, SQLLite or others.

It would be good to use Amazon/Ali-cloud cloud service, provided it can speed up my deployment. I'm not sure if I need run into blobs such as H5, PHP/JSP, node.js or others. Can you provide a guide for me, web link or book?

And, what's the most popular programming interface between Android/IOS app and cloud server? http post/get or other wrapper ?


Solution

  • Surely you can speed up your deployment using Amazon Web Services. This is my recommendation:

    1. For Webserver,

    Amazon EC2: Launch an instance where you can install Apache/Nginx here. You will need a RDS instance running parallel with your server which will lower your need on server CPU/Mem, but will cost also.

    1. For Database, you can have many approach ways here:

    Amazon RDS: Launch an instance where you host your Database (mysql/...). This one will provide you with Database Name, Hostname, Users, ... which you can use to connect with your webserver in EC2. Your Android/IOS application can use RDS information for the database connection.

    Amazon DynamoDB: Fast, Flexible for NoSQL (wonder if you want to use traditional database or NoSQL?): https://aws.amazon.com/amplify/

    1. For Mobile/Website access control,

    AWS Cognito: Great for user-accounts, designed for real-time data model: https://aws.amazon.com/cognito/?nc1=f_ls

    1. For serverless if you want to GET/PUT API on your webserver for easier,

    AWS Lambda: https://aws.amazon.com/lambda/?nc1=f_ls