SMPP Router AWS EC2 Installation Instructions
- Launch Your Instance
- Click “Launch instances” .
- Enter a name for your instance (e.g. SMPP Router).
- Select the “Debian” Amazon Machine Image (AMI).
- Choose the t3.small instance type.
- Select or create an SSH key pair for login.
- Under Network settings , ensure:
- “Allow SSH traffic from the internet” is ticked.
- “Allow HTTP traffic from the internet” is ticked.
- “Create security group” is selected.
- Click “Launch instance” .
- Configure Inbound Rules for SMPP
- Open the Security Group associated with your instance.
- Click “Edit inbound rules” , then “Add rule” .
- Add the following rule:
- Type: Custom TCP
- Port range : 2775
- Source: Anywhere-IPv4
- (Optional) To restrict SSH and/or HTTP access, update the source settings now or later.
- Click “Save rules” .
- Connect to the Instance
- Once the instance is running, SSH into it:
ssh -i <key.pem> admin@<instance-address>
-
- Replace <key.pem> with your private key, and <instance-address> with your instance’s public DNS (e.g. ec2-1-2-3-4.eu-west-1.compute.amazonaws.com).
- If prompted about the host’s authenticity, type yes and press Enter.
- Install and Start SMPP Router Run the following commands:
sudo apt update && \
sudo apt install -y tar apache2-utils && \
mkdir -p smpprouter && \
cd smpprouter && \
wget https://melroselabs.com/repo/smpprouter/opMLSMPPRouter_latest.tar.gz && \
tar -xzf opMLSMPPRouter_latest.tar.gz && \
sudo ./install.sh
SMPP Router is now running and ready to be configured with ESME (customer) and target (provider) connections. You can use Prometheus+Grafana to monitor SMPP Router (HTTP port 80).