hi everyone welcome again to the channel today i will explain about swf in ews which is simple workflow service which is used or which provides the programming model and infrastructure for coordinating distributed components and maintaining their exhibition state in a reliable way we'll discuss about what is hwf in aws what is their benefit and practically i will show you how to create it inside our aws login credential at the end i will provide you detail benefit of this product so if you are new to this channel consider subscribing and pressing bell icon for more updates so first of all what is hwf amazon simple workflow service is a task based api that make it easy to coordinate walk across distributed application components it provides a simple api calls which can be executed from code written in any language and can be run on our ec2 instance or any of our machine located anywhere in the world that access or that is having internet connection so using amazon hwf we can focus on building the aspects of the application that differentiate it in different manner a workflow is a set of activities that carry out some objective including logic that coordinates the activity to achieve the desired output workflow history consists of complete and consistent record of each event that occurred since the workflow execution started it is maintained by swf each application workflow requires several processing steps which either executable code or api calls to another service simple script or human action performs amazon swf enables a developer to manage dependencies scheduling load distribution and other association with each worker it allows us to build applications and makes it easy to coordinate the work across distributed components sws provides a logical separation among all the components of a project swf involves in coordinating various tasks such as managing inter task dependencies scheduling and concurrency in accordance with logical flow of the application we do not have to manage task manually swf will do it everything for us let's take an example so whenever we are ordering any component through e-commerce portal just like amazon or the flipkart or walmart so customer is placing an order and that order will be verified by order verifier or by the team of flipkart or walmart or amazon once that is approved it will show up for card or payment history so whenever you enter the payment detail or select the payment it will throw and pop-up message on different payment options like net banking credit card or debit card once you will click on any of the options just like when you are entering debit card detail so it will show up and message on regular page which we have to enter the card information and once it is done the order is placed order is paged on and stood up a message to the warehouse owner or nearest warehouse owner to ship the product and once warehouse owners or employee will place the order for delivery new message shoot up to the customer this is going to deliver on this tentative timelines it will also store a record completion and once it is delivered to the customer end and customer are satisfied with the product the android will be recorded in database and that is the process is ending so this will show up the complete flow of an application where an user is requesting for any product and that product will be delivered to him on different steps so let's see how we can create it account inside our ews so once we login just have to go to the services and click on swf or you can search it from the simple workflow service so once you will click on swf you are getting two create your own domain and launch sample workflow so click on sample workflow it will give you a creating a domain registration workflow an activity steps deployment run an execution and next step is to publish so it will go through a five different stages let's click on get started it will create a domain and ask the domain name with you once you will enter this domain name it will ask for the registration and once you enter let me give you here test data so it is registered successfully just have to click to continue so registration process will take a register with a simpler workflow as activity and downloading in which transferring to cpr transferring it to the grayscale and uploading the s3 is all activity that will be registered individually in addition to the workflow click on continue so you will get a complete walkthrough without deployment if you want otherwise you can deploy it your product on easy to if you have your new key you can generate it or you can terminate easy to instance within a 30 minutes an hour or two hour by this way you can do it once enter all and click on the acknowledge just click on continue it will jump to how many times you will need that enter one or two and click on continue now that is the final step your instance will be created because i don't want to create it and canceling here so once it is created you are able to see that instance will be available here and you can perform the task according to your requirement because i have cancelled it is showing here cancelled or timeout it's community nine right now so manage do means if you want to manage any domain because i have entered because of that string right stored and if i did not provided any detail that will be not available in my screen so this is all how we can create in and list the services according to our requirement so let's see about the benefit or sws feature so there are five components which is providing the benefit options in sws first is scalable amazon swfs automatically scales the resource along with our application users there is a no manual administration of the workflow service required when we add more cloud workflow or increase the complexity of the workflow amazon swf runs at amazon's highly available data center which is their reliability therefore the streets this tracking is provided whenever applications need them amazing hws stores the task send them to their respective application components keep a track on their progress third is logical separation so amazon sws provides a logical separation between the control flow of our background job stepwise logical and the actual units of work that contains business logic due to the logical separation we can separately manage maintain and scale street machinery of our application from the business logic according to the change in the business requirement we can easily manage the business logic without having or without worrying about the street machinery tax dispatch and flow control fourth is simple so amazon swf completely replaces the complexity of the old vauxhall solutions and process automation workflow with new cloud workflow internet services it eliminates the need of the developers to manage automation process so that we can focus on the unique functionality of the application and finally the flexibility amazon swf allows us to modify the application component that we can modify the application logic in any programming language and run them within the cloud or on our premises so this is about whole idea of swf let's recap this we have started with definition of swf discussed in detail about different components of the swas how it deals with that how it is working and then we have created one hws component inside our ews login credential and we have already discussed about one example of swf how the customer is approaching for any product and that product will deliver in different steps and finally we have discussed about the feature so this is all about hwf hope you liked it if you really enjoyed this video consider subscribing and pressing bell icon for more updates thank you for watching