The increasing amount of data running in cloud-computing environments has started inflating networks. To solve the problems caused by network inflation (e.g., latency and privacy), new types of computing environments with multiple layers have been proposed. However, service placement inside these multilayer computing environments has not been proposed. Nodes inside multilayer computing environments have different preferences, and the services deployed also have restrictions on deployment. Therefore, services must be placed carefully inside the computing environment. To place these services, we introduce a service classification method according to their properties and restrictions. However, when accommodating dynamic placement, rapid classification is needed to avoid serious damage caused by restriction changes. Therefore, we propose a classifying method using k-Nearest Neighbor Classification (k-NN). In addition, to accelerate the process, we use a dimension reduction method called Self-Organizing Maps (SOM) to preprocess the data. The proposed classification method is expected to be used as the primary step in service placement. The method will supply service placers with the identification of which layer services should be deployed.