A microservice and the recipe for that microservice are automatically created by modifying a local environment in an integrated development environment executing on a computing system to construct a desired microservice, recording commands entered while modifying the local environment, computing a list of changes from the recorded commands that change the local environment and compiling the list of changes into a recipe comprising commands and dependencies sufficient to assemble an operating system and software files that are sufficient to instantiate the desired microservice.