Last updated: 2019-03-12T18:53:30.386Z, skip to the command list ↓
AWS Lambda is a full Linux microcontainer that boots up on-demand in milliseconds, billing in 100ms increments.
Lambda is primarily used for running whatever business logic you feed one of its supported runtimes (or the custom runtime of your choosing, if you're into that!).
As in any application, it's not unusual to need to shell out for some kinds of operations – after all, UNIX is pretty powerful! 🏋🏽♀️
Fortunately, Lambdas – which run a lightweight AWS AMI – come equipped with a full complement of common Linux shell commands.
- AWS pre-installs the AWS SDK in all JS and Python Lambdas, so you don't need to include it in your application's dependencies!
- In fact, doing so will only slow down your Lambda's startup times, so don't do that.
- Important local paths
/var/task- Your default cwd (and where your code is located)/tmp- A nice place to perform local operations
⚠️ Security warning: If dealing with any potentially sensitive data on the Lambda filesystem, be sure to destroy those files before completing your application's execution.- Your Lambda microcontainers are kept warm and recycled across processes, so you really don't leave open the possibility of leaking data across executions – statelessness is a feature!
Partially self-serving plug: this here project is built with Architect, an open source serverless framework created and maintained by the company I cofounded: Begin, an open source-centric serverless app platform, created to help people like you build the fast, durable, scalable, affordable, maintainable, serverless software of the future.
!.:[[[]]a2paddr2linealiasanimateararchasaserverawkbase64basenamebashbashbugbashbug-64bdftopcfbdftopsberkeley_db_svcbgbindbmp2tiffbreakbuild-classpathbuild-classpath-directorybuild-jar-repositorybuiltinbunzip2bzcatbzcmpbzdiffbzgrepbzip2bzip2recoverbzlessbzmorec++filtc2phca-legacycairo-sphinxcalcallercaptoinfocasecatcatchsegvcdcertutilchconcheck-binary-fileschecksctpchgrpchmodchownchrtchvtcksumclean-binary-filesclearcmpcmsutilcolcolcrtcolrmcolumncommcommandcomparecompgencompletecompoptcompositeconjurecontinueconvertcoproccpcpiocreate-jar-linkscrlutilcsplitcurlcutdashdatedb_archivedb_checkpointdb_codegendb_deadlockdb_dumpdb_dump185db_hotbackupdb_loaddb_printlogdb_recoverdb_statdb_upgradedb_verifydddeallocvtdeclaredfdiffdiff-jarsdiff3dirdircolorsdirnamedirsdisowndisplaydmesgdnsdomainnamedodomainnamedonedudumphintdumpkeysdvipdfdwpechoegrepejectelfeditelifelseenableenveps2epseqnesaceu-addr2lineeu-areu-elfcmpeu-elflinteu-findtextreleu-make-debug-archiveeu-nmeu-objdumpeu-ranlibeu-readelfeu-sizeeu-stackeu-stringseu-stripeu-unstripevalexecexitexpandexportexprfactorfallocatefalsefax2psfax2tifffcfc-cachefc-catfc-listfc-matchfc-queryfc-scanfgfgconsolefgrepfifilefindfind-jarfind2perlfindmntflockfmtfoldfont2cfonttosfntforfreefunctionfunzipgawkgcoregdbgdb-add-indexgdbusgencatgendiffgeqngetconfgetentgetkeycodesgetoptgetoptsghostscriptgif2tiffgio-querymodules-64glib-compile-schemasgmakegneqngnroffgpggpg-agentgpg-connect-agentgpg-errorgpg-zipgpg-zip2gpg2gpgconfgpgparsemailgpgsplitgpgsplit2gpgvgpgv2gpicgprofgrepgroffgropsgrottygroupsgsgsbjgsdjgsdj500gsettingsgsljgslpgsndgsoelimgstackgtargtblgtroffgunzipgzexegziph2phhashheadhelphexdumphistoryhostidhostnamei386iconvididentifyidnidn2ifigawkimportininfoinfocmpinfokeyinfotocapinstallioniceipcalcipcmkipcrmipcsiptables-xmlisosizejavajava7java8jjsjjs8jobsjoinjvmjarkbd_modekbdratekeytoolkeytool7keytool8killkillallkmodlastlastblastloglchfnlchshldld.bfdld.goldlddletlinklinux32linux64lnloadkeysloadunimaplocallocalelocaledefloggerloginlognamelogoutlooklprsetup.shlslsblklscpulsipclslockslsloginslsnslualuacmakemakedbmapfilemapscrnmcookiemd5summesgmkdirmkfifomkfontdirmkfontscalemknodmktempmodutilmogrifymontagemoremountpointmvnameineqnnetstatnicenisdomainnamenlnmnodenohupnpmnprocnpxnroffnsenternumfmtobjcopyobjdumpodoldfindopenopensslopenvtorbdorbd7orbd8p11-kitpack200pack2007pack2008pal2rgbpastepatchpathchkpdf2dscpdf2pspdfoptpeekfdperlperl5.16.3perlbugperldocperlthankspf2afmpfbtopfapgawkpgreppicpiconvpinentrypinentry-cursespingping6pinkypk12utilpkg-configpkillpl2pmplddpmappod2htmlpod2manpod2textpod2usagepolicytoolpolicytool7policytool8popdpost-grohtmlppm2tiffprpre-grohtmlpreconvprintafmprintenvprintfprlimitprtstatpsps2asciips2epsips2pdfps2pdf12ps2pdf13ps2pdf14ps2pdfwrps2psps2ps2psedpsfaddtablepsfgettablepsfstriptablepsfxtablepstackpstreepstree.x11pstructptxpushdpv.shpwdpwdxpwmakepwscorepydocpydoc2.7pydoc27pydoc3pydoc3.4pythonpython2.7python27python3python3.4python3.4mpython34pyvenv3pyvenv3.4ranlibras2tiffrawraw2tiffreadreadarrayreadelfreadlinkreadonlyrealpathrebuild-jar-repositoryrebuild-security-providersrenamereniceresetresizeconsreturnrevrgb2ycbcrrmrmdirrmidrmid7rmid8rmiregistryrmiregistry7rmiregistry8rpcgenrpmrpm2cpiorpmbuildrpmdbrpmkeysrpmqueryrpmspecrpmverifyruncons2pscriptscriptreplaysctp_darnsctp_statussctp_testsdiffsedselectseqservertoolservertool7servertool8setsetarchsetfontsetkeycodessetledssetmetamodesetprivsetsidsettermsetup-nsssysinitsetup-nsssysinit.shshsha1sumsha224sumsha256sumsha384sumsha512sumshiftshoptshowconsolefontshowkeyshredshufsigntoolsignversizeskillslabtopsleepsnicesoelimsortsotrusssourcesplainsplitsprofsqlite3ssltapstatstdbufstreamstringsstripsttysumsuspendsynctabstactailtailftartasksettblteetestthenthumbnailtictiff2bwtiff2pdftiff2pstiff2rgbatiffcmptiffcptiffcroptiffdithertiffdumptiffinfotiffmediantiffsettiffsplittimetimeouttimestloadtnameservtnameserv7tnameserv8toetoptouchtputtrtracepathtracepath6traptrofftruetruncatetsettsortttmkfdirttytypetypesettzselectucs2anyululimitumaskunaliasunameunexpandunicode_startunicode_stopuniqunix-lpr.shunlinkunpack200unpack2007unpack2008unsetunshareuntilunxzunzipunzipsfxupdate-ca-trustupdate-mime-databaseuptimeurlgrabberurlgrabber-2.7usersusleeputmpdumpuuidgenvdirvmstatwwaitwatchwatchgnupgwcwdctlwftopfawhereiswhichwhilewhowhoamiwithsctpx86_64xargsxmlcatalogxmllintxmlwfxsltprocxzxzcatxzcmpxzdecxzdiffxzegrepxzfgrepxzgrepxzlessxzmoreyesypdomainnameyumzcatzcmpzdiffzegrepzfgrepzforcezgrepzipgrepzipinfozlesszmoreznewzsoelim{}
This project inspired by What's on Lambda!