Top

Laravel + Angular Documentation

Multikart offers stunning and one-of-a-kind website demos tailored to your grocery, bakery, and online store needs. With Multikart, you'll find everything you require to craft the ideal website for your business. Multikart - your all-in-one solution!

AWS ec2 (Amazon Web Server)

Note:
  • If you plan to run all the scripts (shop, admin, api) on the same server as described in this tutorial, we suggest setting up a blank Ubuntu-based server with a minimum of 2 CPU cores and 2GB of memory.

What is AWS EC2?

EC2 (Elastic Cloud Compute) is a service that allows you to generate instances, which are essentially servers, for running your websites or applications.

Create EC2 Instance

    Step 1: Sign in to AWS Console

    - Open your browser and navigate to the AWS Management Console.

    - Sign in using your AWS credentials.

    - If you're new to AWS, sign up for an account. Once logged in, go to the EC2 dashboard and follow the prompts to launch your instance.

    Step 2: Access EC2 Dashboard

    - Once logged in, select the "Services" dropdown menu in the top left corner.

    - Under the "Compute" section, click on "EC2" to access the EC2 dashboard.

    - Once we click on EC2 you will be redirected to the EC2 Dashboard. It shows the information related to all the EC2 resources for a specific Region in our account.

    Step 3: Launch Instance

    - After clicking on EC2, you'll be taken to the EC2 Dashboard. This page displays details about all the EC2 resources associated with a particular region in your account.

    Note:

    If you change the region from the top-right corner of the dashboard, it will display information specific to the selected region. In the snapshot below, we have chosen the "Sydney" region.

    Step 4: Enter a name of your instance

    Step 5: Choose an Amazon Machine Image (AMI)

    - An Amazon Machine Image (AMI) acts as a ready-made virtual machine template for your EC2 instance. When setting up your instance, you'll be asked to select an AMI from a list of options. These options include Amazon Linux, Ubuntu, Windows, and various others.

    Step 6: Choose an Instance Type

    - An instance type defines the computing resources such as CPU, RAM, and storage allocated to your EC2 instance.

    - There's a range of instance types available, varying from small and budget-friendly to large and high-performance options. Choose the instance type that aligns with your requirements and budget.

    Step 7: Create a key pair

    - If you haven't created a key pair before, generate one and ensure to store it securely. This key pair serves as your login credential to access your EC2 instance.

    Step 8: Configure Virtual Firewall

    - For your EC2 instance, you can set up virtual firewalls called security groups to manage both inbound and outbound traffic.

    - These security groups enable you to permit or block traffic based on specific IP addresses, protocols, and ports. During this stage, you'll either create a new security group or choose an existing one to configure.

    Step 9: Add Storage

    - To set up your EC2 instances, you'll need storage for your operating system, apps, and data. Simply add and configure storage volumes, choosing from options like Amazon Elastic Block Store (EBS) volumes or instance store volumes.

    Step 10: Review and Launch

    - Before you start your instance, go over all the details to ensure they're correct. You can see Summary details on right side. details If needed, adjust any settings. When everything looks good, just click "Launch Instance" to get your EC2 instance up and running.

    Step 11: Connect to Your Instance

    - After create successfully instance, click to Connect to instance button in connect to your instance section

    - Click connect button to connect amazon ssh terminal.

    - Now, go to install LAMP or LEMP stack VPS server as your requirements for deploy the multikart-api. click here LAMP or LEMP stack vps server.