Developer Tools · head to head
AWS Serverless Application Model (AWS SAM) vs FortiToken

AWS Serverless Application Model (AWS SAM)
Developer Tools
Open-source framework and CLI for building serverless apps on AWS
- From
- Free
- Free plan
- Yes

FortiToken
Developer Tools
Hardware and mobile multi-factor authentication tokens from Fortinet
- From
- On request
- Free plan
- No
The short version
- AWS Serverless Application Model (AWS SAM) is free; FortiToken prices on request.
- Only AWS Serverless Application Model (AWS SAM) lists SAM connectors for IAM permissions; only FortiToken lists FortiToken Mobile.
- Where AWS Serverless Application Model (AWS SAM) falls short: targets AWS only, so templates are not portable to other cloud providers.
- Where FortiToken falls short: pricing is not published on the vendor page, so per-token and per-user costs depend on partner quotes.
How do AWS Serverless Application Model (AWS SAM) and FortiToken differ?
AWS Serverless Application Model (AWS SAM) and FortiToken differ on starting price (Free against On request), pricing model (Open-source against Quote) and free tier (Yes against No). Only the attributes on which AWS Serverless Application Model (AWS SAM) and FortiToken actually diverge.
| Attribute | AWS Serverless Application Model (AWS SAM) | FortiToken |
|---|---|---|
| Starting price | Free | On request |
| Pricing model | Open-source | Quote |
| Free tier | Yes | No |
| Platforms | Windows, macOS, Linux | iOS, Android, Web |
Not yet recorded: category for FortiToken.
Which features does each one have?
They share no listed features; 7 appear only for AWS Serverless Application Model (AWS SAM) and 6 only for FortiToken. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in AWS Serverless Application Model (AWS SAM)
- SAM template shorthand for CloudFormation
- SAM CLI project scaffolding with sam init
- Local testing of Lambda functions and API endpoints
- sam sync for syncing local changes to the cloud
- SAM connectors for IAM permissions
- Terraform project debugging support
- CI/CD pipeline support
Only in FortiToken
- FortiToken Mobile
- Hardware OTP tokens
- USB certificate token
- FIDO2 security key
- FortiGate as auth server
- FortiIdentity Cloud
What is each one used for?
AWS Serverless Application Model (AWS SAM) is most often brought in for defining Lambda and API Gateway applications as code; FortiToken for A FortiGate customer adding MFA to SSL VPN logins. The jobs each tool is most often brought in to do.
AWS Serverless Application Model (AWS SAM)
- Defining Lambda and API Gateway applications as codenot FortiToken
- Testing Lambda functions locally before deploymentnot FortiToken
- Building CI/CD pipelines for serverless appsnot FortiToken
- Converting console-created resources into templatesnot FortiToken
FortiToken
- A FortiGate customer adding MFA to SSL VPN loginsnot AWS Serverless Application Model (AWS SAM)
- An organisation needing offline hardware tokens for staff without smartphonesnot AWS Serverless Application Model (AWS SAM)
- A team rolling out FIDO2 keys for admin accountsnot AWS Serverless Application Model (AWS SAM)
- A small business using FortiIdentity Cloud rather than running a servernot AWS Serverless Application Model (AWS SAM)
Where do AWS Serverless Application Model (AWS SAM) and FortiToken fall short?
AWS Serverless Application Model (AWS SAM)'s most cited limit: targets AWS only, so templates are not portable to other cloud providers. FortiToken's: pricing is not published on the vendor page, so per-token and per-user costs depend on partner quotes. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS Serverless Application Model (AWS SAM)
- Targets AWS only, so templates are not portable to other cloud providers
- Local testing of functions depends on Docker being installed and running
- Requires an AWS account, the AWS CLI and configured credentials before first use
- Declarative templates, so complex logic needs CloudFormation or the AWS CDK instead
- Does not cover non-serverless infrastructure on its own, which falls back to CloudFormation
FortiToken
- Pricing is not published on the vendor page, so per-token and per-user costs depend on partner quotes
- It is MFA only; there is no SSO, app catalogue or user lifecycle, so it does not replace Okta or Entra
- Value is highest for Fortinet customers, since tokens are designed around FortiGate and FortiAuthenticator
- Hardware tokens need physical distribution and replacement, which adds cost and delay for remote staff
- Phishing-resistant login only comes with the FIDO2 key, not the OTP and mobile options
How much do AWS Serverless Application Model (AWS SAM) and FortiToken cost?
AWS Serverless Application Model (AWS SAM) is free to use; FortiToken is priced on request. Plan by plan below, from each vendor's own pricing page.
AWS Serverless Application Model (AWS SAM)
FreeNo published plan breakdown. See the AWS Serverless Application Model (AWS SAM) review.
FortiToken
On request- FortiTokenOn request
- Mobile, hardware OTP, USB and FIDO2 key options
- Sold through Fortinet partners
- Works with FortiGate or FortiAuthenticator
Which should you pick?
Choose AWS Serverless Application Model (AWS SAM) if
- You need sam template shorthand for cloudformation.
- You want to start without paying.
- You work on Windows, macOS, Linux.
- You also want sam cli project scaffolding with sam init.
Choose FortiToken if
- You need fortitoken mobile.
- You work on iOS, Android, Web.
- You also want hardware otp tokens.
Questions people ask
- Is AWS Serverless Application Model (AWS SAM) or FortiToken better?
- It depends on the job. AWS Serverless Application Model (AWS SAM) fits defining Lambda and API Gateway applications as code; FortiToken fits a FortiGate customer adding MFA to SSL VPN logins. AWS Serverless Application Model (AWS SAM) starts at Free and FortiToken at On request.
- Which is cheaper, AWS Serverless Application Model (AWS SAM) or FortiToken?
- AWS Serverless Application Model (AWS SAM) has a free tier; the other does not. Paid plans start at Free for AWS Serverless Application Model (AWS SAM) and On request for FortiToken.
- Does AWS Serverless Application Model (AWS SAM) or FortiToken run on more platforms?
- AWS Serverless Application Model (AWS SAM) runs on Windows, macOS, Linux. FortiToken runs on iOS, Android, Web.
- Can I use AWS Serverless Application Model (AWS SAM) for free?
- Yes. AWS Serverless Application Model (AWS SAM) has a free tier, so you can try it without paying. FortiToken starts at On request.
- What is AWS Serverless Application Model (AWS SAM) best used for?
- AWS Serverless Application Model (AWS SAM) is most often used for defining lambda and api gateway applications as code, testing lambda functions locally before deployment, building ci/cd pipelines for serverless apps, converting console-created resources into templates. Of those, defining lambda and api gateway applications as code and testing lambda functions locally before deployment are not what FortiToken is typically brought in for.
- What can AWS Serverless Application Model (AWS SAM) do that FortiToken cannot?
- AWS Serverless Application Model (AWS SAM) covers SAM template shorthand for CloudFormation, SAM CLI project scaffolding with sam init, Local testing of Lambda functions and API endpoints, sam sync for syncing local changes to the cloud. FortiToken covers FortiToken Mobile, Hardware OTP tokens, USB certificate token, FIDO2 security key.
Answered from the vendors’ own pages
AWS Serverless Application Model (AWS SAM): What is AWS SAM?
AWS SAM is an open-source framework for building serverless applications with infrastructure as code. It consists of a template syntax that extends CloudFormation and a command-line tool.
SourceFortiToken: Do I need FortiAuthenticator?
Not always. FortiToken can be used directly with FortiGate, including HA, or with FortiIdentity Cloud.
AWS Serverless Application Model (AWS SAM): Which operating systems does the SAM CLI support?
AWS publishes installers for Linux on x86_64 and arm64, macOS on Intel and Apple silicon, and a 64-bit Windows MSI. macOS versions older than 13.x are not supported.
SourceFortiToken: Does it support FIDO2?
Yes, the FortiToken 410 is a FIDO-certified USB key.
AWS Serverless Application Model (AWS SAM): What licence does AWS SAM use?
The serverless-application-model repository on GitHub is licensed under Apache-2.0.
SourceFortiToken: Does it work with non-Fortinet systems?
Yes, with any time-based OATH-compliant authentication server.
AWS Serverless Application Model (AWS SAM): How does SAM differ from the AWS CDK?
The documentation says to use SAM instead of the CDK if you prefer a declarative approach to describing infrastructure rather than a programmatic one. The two can also be combined, using the SAM CLI's local testing with CDK applications.
SourceFortiToken: Is it a full identity platform?
No, it is for multi-factor authentication.
Related pages
More on AWS Serverless Application Model (AWS SAM)
Other head to heads
- AWS Serverless Application Model (AWS SAM) vs Terraform
- AWS Serverless Application Model (AWS SAM) vs LocalStack
- AWS Serverless Application Model (AWS SAM) vs Spacelift
- AWS Serverless Application Model (AWS SAM) vs Cloudflare Workers
- AWS Serverless Application Model (AWS SAM) vs env zero
- AWS Serverless Application Model (AWS SAM) vs Atlantis
- AWS Serverless Application Model (AWS SAM) vs Backstage
- AWS Serverless Application Model (AWS SAM) vs PDAL
- AWS Serverless Application Model (AWS SAM) vs Windows Terminal
- AWS Serverless Application Model (AWS SAM) vs Claude Code
- AWS Serverless Application Model (AWS SAM) vs Harness
- AWS Serverless Application Model (AWS SAM) vs Losant
- AWS Serverless Application Model (AWS SAM) vs Vite
- AWS Serverless Application Model (AWS SAM) vs Warp
- AWS Serverless Application Model (AWS SAM) vs Webpack
- AWS Serverless Application Model (AWS SAM) vs Blacksmith
- AWS Serverless Application Model (AWS SAM) vs CLion
- AWS Serverless Application Model (AWS SAM) vs Cortex
- AWS Serverless Application Model (AWS SAM) vs Microsoft Authenticator
- AWS Serverless Application Model (AWS SAM) vs ManageEngine ADSelfService Plus
- AWS Serverless Application Model (AWS SAM) vs OneLogin
- AWS Serverless Application Model (AWS SAM) vs Silverfort
- AWS Serverless Application Model (AWS SAM) vs IBM Verify
- AWS Serverless Application Model (AWS SAM) vs miniOrange
- AWS Serverless Application Model (AWS SAM) vs YubiKey Manager
- AWS Serverless Application Model (AWS SAM) vs Zoho Directory
- AWS Serverless Application Model (AWS SAM) vs Authy
- AWS Serverless Application Model (AWS SAM) vs Amazon Cognito
- AWS Serverless Application Model (AWS SAM) vs Better Auth
- AWS Serverless Application Model (AWS SAM) vs Ente Auth
- AWS Serverless Application Model (AWS SAM) vs Zitadel
- AWS Serverless Application Model (AWS SAM) vs 2FAS
- AWS Serverless Application Model (AWS SAM) vs Aegis Authenticator
- AWS Serverless Application Model (AWS SAM) vs Atlassian Guard
- AWS Serverless Application Model (AWS SAM) vs Cisco Identity Services Engine
- AWS Serverless Application Model (AWS SAM) vs CrowdStrike Falcon Identity Protection
- FortiToken vs Terraform
- FortiToken vs LocalStack
- FortiToken vs Spacelift
- FortiToken vs Cloudflare Workers
- FortiToken vs env zero
- FortiToken vs Atlantis
- FortiToken vs Backstage
- FortiToken vs PDAL
- FortiToken vs Windows Terminal
- FortiToken vs Claude Code
- FortiToken vs Harness
- FortiToken vs Losant
- FortiToken vs Vite
- FortiToken vs Warp
- FortiToken vs Webpack
- FortiToken vs Blacksmith
- FortiToken vs CLion
- FortiToken vs Cortex
- FortiToken vs Microsoft Authenticator
- FortiToken vs ManageEngine ADSelfService Plus
- FortiToken vs OneLogin
- FortiToken vs Silverfort
- FortiToken vs IBM Verify
- FortiToken vs miniOrange
- FortiToken vs YubiKey Manager
- FortiToken vs Zoho Directory
- FortiToken vs Authy
- FortiToken vs Amazon Cognito
- FortiToken vs Better Auth
- FortiToken vs Ente Auth
- FortiToken vs Zitadel
- FortiToken vs 2FAS
- FortiToken vs Aegis Authenticator
- FortiToken vs Atlassian Guard
- FortiToken vs Cisco Identity Services Engine
- FortiToken vs CrowdStrike Falcon Identity Protection
