Listing Thumbnail

    Asterisk PBX - fail2ban Hardened, CloudWatch & SSM Ready

     Info
    Sold by: Cloud SOE 
    Deployed on AWS
    AWS Free Tier
    This is a repackaged open source software product wherein additional charges apply for the pre-configured fail2ban SIP brute-force protection, the Asterisk security log channel, Amazon CloudWatch log/metric shipping, AWS Systems Manager integration, security hardening, and vendor support.

    Overview

    Asterisk is the world's most widely deployed open source PBX and telephony engine. This CloudSOE image delivers a ready-to-run Asterisk server with brute-force protection, native AWS observability, and security hardening wired in from first boot - so you can operate it like any other AWS workload.

    Built for developers, integrators, and VoIP engineers building IVRs, custom call flows, CTI integrations, and communications applications who want the engine without a GUI in the way and without a day of compilation and hardening first.

    What You Get Out of the Box

    • Asterisk PBX (PJSIP) - Current LTS release installed and running at first boot, with chan_pjsip as the standard channel driver and commented endpoint, auth, and AOR templates that make adding a trunk or endpoint a five-minute edit
    • Structured dialplan skeleton - Contexts separated for internal, inbound, and outbound with deny-by-default routing between them, the pattern that prevents most accidental toll fraud
    • ARI REST interface and AMI - Enabled and secured for building Stasis apps and CTI integrations
    • Security logger channel - Activated so SIP authentication failures are written to /var/log/asterisk/security

    Security Hardening

    • fail2ban pre-configured and active - An escalating Asterisk jail watches security and messages logs: 5 failures in 10 minutes triggers a 1-hour ban, with escalating bans up to 1 week for repeat offenders (rules in /etc/fail2ban/jail.d/asterisk.local)
    • Key-only SSH - Password authentication disabled, root login disabled
    • No baked-in secrets - Cloud-init state and shell history scrubbed before the image is captured
    • Deny-by-default dialplan routing - Contexts isolated to prevent accidental toll fraud
    • Recommended ports - SSH 22/tcp, SIP 5060-5061 (tcp/udp), RTP 10000-20000/udp - open only what you use

    Native AWS Integration

    • Amazon CloudWatch agent - Pre-configured to ship Asterisk messages, security logs, fail2ban.log, syslog, and auth.log to CloudWatch Logs (log groups under /cloudsoe/asterisk) and publish CPU, memory, disk, and TCP metrics under the CloudSOE/asterisk namespace
    • AWS Systems Manager - SSM Agent installed and enabled for Session Manager, Run Command, and Patch Manager
    • IAM-based activation - Attach an instance role with CloudWatchAgentServerPolicy and AmazonSSMManagedInstanceCore to activate monitoring. No AWS credentials are stored on the image
    • First-boot service - Writes the instance's public IP into the login banner so the SIP endpoint address is visible immediately

    Common Use Cases

    • Custom IVRs and call flows - Menus, queues, time conditions, and integrations written in dialplan or driven from ARI
    • Communications applications - Stasis apps over ARI in Python, Node.js, Go, or anything that speaks REST and WebSocket
    • CTI and CRM integration - Originate, monitor, and control calls from business systems via AMI and ARI
    • SIP trunk termination and testing - A controlled endpoint for carrier trunk validation and lab work
    • Learning and certification preparation - A clean, correct Asterisk to study against without GUI abstractions

    Sizing Guidance

    Signaling is light; media and recording are not. Development and small deployments: t3.small. Production with transcoding or recording: t3.medium to m7i.large depending on concurrent channels. Conference-heavy workloads scale with cores.

    Getting Started

    SSH in as 'ubuntu'; configuration lives in /etc/asterisk/ (console: sudo asterisk -rvvv). Whitelist your admin IP in fail2ban first: sudo fail2ban-client set asterisk addignoreip . CloudWatch agent config is at /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.d/asterisk.json. Full root access is provided. A support-information file at /etc/cloudsoe-support.txt identifies the exact build including product, version, git revision, and cloud.

    Trademark Notice

    Asterisk is a registered trademark of Sangoma Technologies Corporation. This product is independently packaged and maintained and is not affiliated with, endorsed by, or supported by Sangoma Technologies.

    Highlights

    • Asterisk PBX (PJSIP) installed and running at first boot with the security logger channel enabled, so authentication failures are recorded in /var/log/asterisk/security; configuration lives in /etc/asterisk/.
    • fail2ban is pre-configured and active with an escalating Asterisk jail (5 failures in 10 minutes = 1 hour ban, repeat offenders up to 1 week) watching the security and messages logs; key-only SSH, root login disabled, no baked-in secrets.
    • Amazon CloudWatch agent ships the Asterisk messages/security logs, fail2ban.log, syslog and auth.log and publishes host metrics under CloudSOE/asterisk; Amazon SSM Agent for Session Manager; vendor support from CloudSOE.

    Details

    Delivery method

    Delivery option
    64-bit (x86) Amazon Machine Image (AMI)

    Latest version

    Operating system
    Ubuntu 26.04

    Deployed on AWS
    New

    Introducing multi-product solutions

    You can now purchase comprehensive solutions tailored to use cases and industries.

    Multi-product solutions

    Features and programs

    Financing for AWS Marketplace purchases

    AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
    Financing for AWS Marketplace purchases

    Pricing

    Asterisk PBX - fail2ban Hardened, CloudWatch & SSM Ready

     Info
    Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.
    If you are an AWS Free Tier customer with a free plan, you are eligible to subscribe to this offer. You can use free credits to cover the cost of eligible AWS infrastructure. See AWS Free Tier  for more details. If you created an AWS account before July 15th, 2025, and qualify for the Legacy AWS Free Tier, Amazon EC2 charges for Micro instances are free for up to 750 hours per month. See Legacy AWS Free Tier  for more details.

    Usage costs (102)

     Info
    • ...
    Dimension
    Cost/hour
    t3.medium
    Recommended
    $0.03
    t2.micro
    $0.03
    t3.micro
    $0.03
    m6i.12xlarge
    $0.03
    m6id.16xlarge
    $0.03
    m7i.xlarge
    $0.03
    t3.xlarge
    $0.03
    m6i.24xlarge
    $0.03
    m7i.12xlarge
    $0.03
    m6idn.4xlarge
    $0.03

    AI Insights

     Info

    Dimensions summary

    You pay by the hour for the software running on your chosen EC2 instance type. Each dimension maps to one instance size, so pricing scales with the compute you select. The list spans several families: burstable t2 and t3/t3a instances for lighter or variable loads, and general-purpose m6a, m6i, m6id, m6in, m6idn, m7a, m7i, and m7i-flex instances for steadier workloads. Sizes range from nano and micro up through large multi-core and bare-metal options. Bigger instances cost more per hour. Billing runs through your AWS account, so you get one invoice.

    Top-of-mind questions for buyers

    You pay per hour that your chosen EC2 instance runs the Asterisk image. The hourly rate covers the software running on one instance of the size you select. Instance size sets the rate, so a larger instance bills more per running hour than a smaller one.
    The software fee meters running time. A fully stopped instance does not accrue the hourly software charge. Underlying AWS resources, such as attached storage, may still incur separate AWS fees while the instance is stopped. Only running hours trigger the software charge.
    Burstable t2 and t3/t3a sizes suit lighter or variable call loads. General-purpose m6 and m7 families suit steady, continuous workloads like busy conference systems or SIP trunking gateways. Larger sizes bill more per hour, so match the instance to your expected call volume.
    cloudsoe.com+1
    Helpful?

    Vendor refund policy

    Cancel Anytime

    How can we make this page better?

    Tell us how we can improve this page, or report an issue with this product.
    Tell us how we can improve this page, or report an issue with this product.

    Legal

    Vendor terms and conditions

    Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA) .

    Content disclaimer

    Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.

    Usage information

     Info

    Delivery details

    64-bit (x86) Amazon Machine Image (AMI)

    Amazon Machine Image (AMI)

    An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.

    Version release notes

    Includes;

    • Latest asterisk
    • Latest OS patches

    Additional details

    Usage instructions

    Quick Start:

    1. SSH in as ubuntu; configuration lives in /etc/asterisk/ (console: sudo asterisk -rvvv).
    2. fail2ban is active and protects SIP against brute force - whitelist your admin IP first: sudo fail2ban-client set asterisk addignoreip <your-ip>.
    3. Open only the ports you use: SIP 5060-5061 and RTP 10000-20000/UDP.

    Support

    Vendor support

    Vendor support for this AMI is provided by CloudSOE. To reach the support team, email support@cloudsoe.com  with a description of your issue.

    AWS infrastructure support

    AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.

    Similar products

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 reviews
    No customer reviews yet
    Be the first to review this product . We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.