A system of providing a function as a service (FaaS), the system comprising: a communicator configured to receive a request for setting resources to execute the function; a memory storing at least one instruction; and a processor configured to execute the at least one instruction stored in the memory, wherein the processor is configured to execute the at least one instruction to generate, before a point in time corresponding to a time information, an invoker and a container to execute the function; wherein the processor is further configured to execute the at least one instruction to: analyze characteristics of the function to determine a computation amount required for the function, wherein the characteristics include at least one of: test log information of the function, a code size of the function, whether an external library is needed during an execution of the function, and whether other functions are included in the function; generate recommendation information related to the setting of a number of containers based on the determined computation amount; display, using a screen of system, the recommendation information to the user and an item for applying an automatic prediction function with respect to the function; wherein, in response to selection of the item displayed on the screen, the processor is further configured to execute the at least one instruction to analyze execution information of the function to predict a time point for the execution of the function using a prediction model trained using the execution information of a function, wherein the execution information comprises: a point in time in which an execution request for the function is made, a number of times the execution request for the function is made, and a frequency of making the execution request for the function, wherein the processor is further configured to execute the at least one instruction to allocate, before the predicted point in time, the set number of containers, and upon receiving an execution request for the function, execute the function using the allocated containers. a communicator configured to receive a request for setting resources to execute the function; a memory storing at least one instruction; and a processor configured to execute the at least one instruction stored in the memory, wherein the processor is configured to execute the at least one instruction to generate, before a point in time corresponding to a time information, an invoker and a container to execute the function; wherein the processor is further configured to execute the at least one instruction to: analyze characteristics of the function to determine a computation amount required for the function, wherein the characteristics include at least one of: test log information of the function, a code size of the function, whether an external library is needed during an execution of the function, and whether other functions are included in the function; generate recommendation information related to the setting of a number of containers based on the determined computation amount; display, using a screen of system, the recommendation information to the user and an item for applying an automatic prediction function with respect to the function; wherein, in response to selection of the item displayed on the screen, the processor is further configured to execute the at least one instruction to analyze execution information of the function to predict a time point for the execution of the function using a prediction model trained using the execution information of a function, wherein the execution information comprises: a point in time in which an execution request for the function is made, a number of times the execution request for the function is made, and a frequency of making the execution request for the function, wherein the processor is further configured to execute the at least one instruction to allocate, before the predicted point in time, the set number of containers, and upon receiving an execution request for the function, execute the function using the allocated containers. analyze characteristics of the function to determine a computation amount required for the function, wherein the characteristics include at least one of: test log information of the function, a code size of the function, whether an external library is needed during an execution of the function, and whether other functions are included in the function; generate recommendation information related to the setting of a number of containers based on the determined computation amount; display, using a screen of system, the recommendation information to the user and an item for applying an automatic prediction function with respect to the function; wherein, in response to selection of the item displayed on the screen, the processor is further configured to execute the at least one instruction to analyze execution information of the function to predict a time point for the execution of the function using a prediction model trained using the execution information of a function, wherein the execution information comprises: a point in time in which an execution request for the function is made, a number of times the execution request for the function is made, and a frequency of making the execution request for the function, wherein the processor is further configured to execute the at least one instruction to allocate, before the predicted point in time, the set number of containers, and upon receiving an execution request for the function, execute the function using the allocated containers.